ring static method

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

Implementation

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