children property

Map<T, Widget> children

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.


final Map<T, Widget> children;