colorator property

(Color Function(V)?) colorator
final

Overrides the default MultiSelectChipDisplay attached to this field. If you want to remove it, use MultiSelectChipDisplay.none(). A function that sets the color of selected items based on their value. It will either set the chip color, or the checkbox color depending on the list type.

Implementation

/// A function that sets the color of selected items based on their value.
/// It will either set the chip color, or the checkbox color depending on the list type.
final Color Function(V)? colorator;