onSelect property

VoidCallback? onSelect
final

Optional void callback, called when the color indicator is tapped.

To disable selection and ink effect, omit or assign a null callback.

Implementation

final VoidCallback? onSelect;