NiceColorPicker constructor

const NiceColorPicker({
  1. Key? key,
  2. required Color value,
  3. required ValueChanged<Color> onChanged,
  4. String? label,
  5. bool showHex = true,
  6. bool showAlpha = false,
  7. List<Color>? presets,
  8. bool enabled = true,
  9. double size = 200.0,
})

Implementation

const NiceColorPicker({
  super.key,
  required this.value,
  required this.onChanged,
  this.label,
  this.showHex = true,
  this.showAlpha = false,
  this.presets,
  this.enabled = true,
  this.size = 200.0,
});