ring static method
Widget
ring({
- required Color currentColour,
- 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
static Widget ring({
required Color currentColour,
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),
}) {
return HueRingPicker(
currentColour: currentColour,
onColorChanged: onColorChanged,
portraitOnly: portraitOnly,
colorPickerHeight: colorPickerHeight,
hueRingStrokeWidth: hueRingStrokeWidth,
);
}