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.
final Map<T, Widget Function()> cases;