PrismColorPicker constructor

const PrismColorPicker({
  1. Key? key,
  2. required Color color,
  3. required ValueChanged<Color> onChanged,
  4. bool showHex = true,
})

Creates a colour picker.

Implementation

const PrismColorPicker({
  super.key,
  required this.color,
  required this.onChanged,
  this.showHex = true,
});