CardBuilder typedef
A function type that builds a list of widgets for a card at a given index.
The returned list should contain exactly 5 widgets in this order:
0: Title widget1: Left title widget2: Right title widget3: Left value widget4: Right value widget
Implementation
typedef CardBuilder = List<Widget> Function(int index);