thumbIcon property

MaterialStateProperty<Icon?> thumbIcon
final

Implementation

final MaterialStateProperty<Icon?> thumbIcon =
    MaterialStateProperty.resolveWith<Icon?>(
  (Set<MaterialState> states) {
    if (states.contains(MaterialState.selected)) {
      return null;
    }
    return Icon(
      Icons.circle_sharp,
      color: Colors.white,
    );
  },
);