AreaColorPicker constructor

const AreaColorPicker({
  1. Key? key,
  2. required Color pickerColor,
  3. required ValueChanged<Color> onColorChanged,
  4. HSVColor? pickerHsvColor,
  5. ValueChanged<HSVColor>? onHsvColorChanged,
  6. ColorsType paletteType = ColorsType.hsvWithHue,
  7. bool displayThumbColor = false,
  8. bool portraitOnly = false,
})

Implementation

const AreaColorPicker({
  super.key,
  required this.pickerColor,
  required this.onColorChanged,
  this.pickerHsvColor,
  this.onHsvColorChanged,
  this.paletteType = ColorsType.hsvWithHue,
  this.displayThumbColor = false,
  this.portraitOnly = false,
});