selectedIcon property

Widget? selectedIcon
final

An icon that is used to indicate a segment is selected.

If showSelectedIcon is true then for selected segments this icon will be shown before the ButtonSegment.label, replacing the ButtonSegment.icon if it is specified.

Defaults to an Icon with Icons.check.

Implementation

final Widget? selectedIcon;