children property Null safety
final
The identifying keys and corresponding widget values in the segmented control.
This attribute must be an ordered Map such as a LinkedHashMap. Each widget is typically a single-line Text widget or an Icon widget.
The map must have more than one entry.
Implementation
final Map<T, Widget> children;