HueRingPicker constructor
const
HueRingPicker({
- Key? key,
- required Color pickerColor,
- 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),
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);