children property

List<Widget> children
final

The toggle button widgets.

These are typically Icon or Text widgets. The boolean selection state of each widget is defined by the corresponding isSelected list item.

The length of children has to match the length of isSelected. If focusNodes is not null, the length of children has to also match the length of focusNodes.

Implementation

final List<Widget> children;