HsvColorPicker constructor
const
HsvColorPicker({
- Key? key,
- required HSVColor pickerColor,
- required ValueChanged<
HSVColor> onColorChanged, - PaletteType paletteType = PaletteType.hsv,
- bool enableAlpha = true,
- bool showLabel = true,
- TextStyle? labelTextStyle,
- bool displayThumbColor = false,
- double colorPickerWidth = 300.0,
- double pickerAreaHeightPercent = 1.0,
- BorderRadius pickerAreaBorderRadius = const BorderRadius.all(Radius.zero),
Implementation
const HsvColorPicker({
Key? key,
required this.pickerColor,
required this.onColorChanged,
this.paletteType = PaletteType.hsv,
this.enableAlpha = true,
this.showLabel = true,
this.labelTextStyle,
this.displayThumbColor = false,
this.colorPickerWidth = 300.0,
this.pickerAreaHeightPercent = 1.0,
this.pickerAreaBorderRadius = const BorderRadius.all(Radius.zero),
}) : super(key: key);