onTap property
The callback that is called every time an item color is tapped.
It takes the color tapped as an argument.
Implementation
final Function(Color)? onTap;
The callback that is called every time an item color is tapped.
It takes the color tapped as an argument.
final Function(Color)? onTap;