ColourPickerLabel constructor

const ColourPickerLabel(
  1. HSVColor hsvColor, {
  2. Key? key,
  3. bool enableAlpha = true,
  4. List<ColorLabelType> colorLabelTypes = const [ColorLabelType.rgb, ColorLabelType.hsv, ColorLabelType.hsl],
  5. TextStyle? textStyle,
})

Implementation

const ColourPickerLabel(
  this.hsvColor, {
  super.key,
  this.enableAlpha = true,
  this.colorLabelTypes = const [ColorLabelType.rgb, ColorLabelType.hsv, ColorLabelType.hsl],
  this.textStyle,
}) : assert(colorLabelTypes.length > 0);