ColourPicker class

Constructors

ColourPicker()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

ring({required Color currentColour, required ValueChanged<Color> onColorChanged, bool portraitOnly = false, double colorPickerHeight = 250.0, double hueRingStrokeWidth = 20.0, bool enableAlpha = false, bool displayThumbColor = true, BorderRadius pickerAreaBorderRadius = const BorderRadius.all(Radius.zero)}) Widget
slides({required Color currentColour, required ValueChanged<Color> onColorChanged, ColorModel colorModel = ColorModel.rgb, bool enableAlpha = true, Size sliderSize = const Size(260, 40), bool showSliderText = true, TextStyle? sliderTextStyle, bool showLabel = true, bool showParams = true, List<ColorLabelType> labelTypes = const [], TextStyle? labelTextStyle, bool showIndicator = true, Size indicatorSize = const Size(280, 50), AlignmentGeometry indicatorAlignmentBegin = const Alignment(-1.0, -3.0), AlignmentGeometry indicatorAlignmentEnd = const Alignment(1.0, 3.0), bool displayThumbColor = true, BorderRadius indicatorBorderRadius = const BorderRadius.all(Radius.zero)}) Widget
square({required Color currentColour, required ValueChanged<Color> onColorChanged, HSVColour? pickerHsvColor, ValueChanged<HSVColor>? onHsvColorChanged, PaletteType paletteType = PaletteType.hueWheel, bool enableAlpha = true, bool showLabel = true, List<ColorLabelType> labelTypes = const [ColorLabelType.rgb, ColorLabelType.hex], bool displayThumbColor = true, bool portraitOnly = false, double colorPickerWidth = 300, double pickerAreaHeightPercent = 1.0, bool hexInputBar = false, TextEditingController? hexInputController, BorderRadius? pickerAreaBorderRadius, List<Color>? colorHistory, ValueChanged<List<Color>>? onHistoryChanged}) Widget
wheel({required double height, required double width, required Color pickerColor, double pickerRadius = 300, required ValueChanged<Color> onColorChanged, HSVColor? pickerHsvColor, ValueChanged<HSVColor>? onHsvColorChanged, bool enableAlpha = true, bool showLabel = true, List<ColorLabelType> labelTypes = const [ColorLabelType.rgb, ColorLabelType.hex], bool displayThumbColor = true, bool portraitOnly = false, double pickerAreaHeightPercent = 1.0, BorderRadius? pickerAreaBorderRadius, List<Color>? colorHistory, ValueChanged<List<Color>>? onHistoryChanged}) Widget