pickersEnabled property

Map<ColorPickerType, bool> pickersEnabled
final

A ColorPickerType to bool map. Defines which pickers are enabled in the color picker's sliding selector and thus available as color pickers.

Available options are based on the ColorPickerType enum that includes values both, primary, accent, bw, custom and wheel.

By default, a map that sets primary and accent pickers to true, and other pickers to false, is used.

To modify key-value enable/disable pairs, you only have to provide values for the pairs you want to change from their default value. Any missing key-value pair in the provided map will keep their default value.

Implementation

final Map<ColorPickerType, bool> pickersEnabled;