PaletteFilter typedef

PaletteFilter = bool Function(HSLColor color)

Hook to allow clients to be able filter colors from selected in a PaletteGenerator. Returns true if the color is allowed.

See also:

Implementation

typedef PaletteFilter = bool Function(HSLColor color);