onTap property

(dynamic Function(Color)?) onTap
final

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;