onSelect property

void Function(Color) onSelect
final

callback function which gets invoked when one color is picked

Implementation

final void Function(Color) onSelect;