HueRingPicker constructor

const HueRingPicker({
  1. Key? key,
  2. required Color pickerColor,
  3. required ValueChanged<Color> onColorChanged,
  4. bool portraitOnly = false,
  5. double colorPickerHeight = 250.0,
  6. double hueRingStrokeWidth = 20.0,
  7. bool enableAlpha = false,
  8. bool displayThumbColor = true,
  9. BorderRadius pickerAreaBorderRadius = const BorderRadius.all(Radius.zero),
})

Implementation

const HueRingPicker({
  Key? key,
  required this.pickerColor,
  required this.onColorChanged,
  this.portraitOnly = false,
  this.colorPickerHeight = 250.0,
  this.hueRingStrokeWidth = 20.0,
  this.enableAlpha = false,
  this.displayThumbColor = true,
  this.pickerAreaBorderRadius = const BorderRadius.all(Radius.zero),
}) : super(key: key);