cases property

Map<T, Widget Function()> cases
final

A map of status values to widget builder functions.

When the current status matches a key in this map, the corresponding builder function is used to construct the widget.

Implementation

final Map<T, Widget Function()> cases;