ColorPickerType enum Null safety

Enum that represents the different offered color picker types.

Constants

accent → const ColorPickerType

A color picker that contain the accent Material color swatches.

const ColorPickerType(2)
both → const ColorPickerType

A color picker that contains both primary and accent Material colors.

const ColorPickerType(0)
bw → const ColorPickerType

A color picker that offers black and white and their very near shades as color swatches.

const ColorPickerType(3)
custom → const ColorPickerType

A color picker that shows custom provided colors and their material like swatches and a custom name for each color swatch.

const ColorPickerType(4)
primary → const ColorPickerType

A color picker that contain the primary Material color swatches.

const ColorPickerType(1)
values → const List<ColorPickerType>

A constant List of the values in this enum, in order of their declaration.

const List<ColorPickerType>
wheel → const ColorPickerType

A HSV color wheel picker that can select any color.

const ColorPickerType(5)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited