NiceColorPalette constructor

const NiceColorPalette({
  1. Key? key,
  2. List<Color> value = const [],
  3. void onChange(
    1. List<Color> colors
    )?,
  4. NiceColorHarmony harmonyMode = NiceColorHarmony.analogous,
  5. bool showWheel = true,
  6. bool showContrast = true,
  7. bool showPresets = true,
  8. int minColors = 2,
  9. int maxColors = 8,
})

Implementation

const NiceColorPalette({
  super.key,
  this.value = const [],
  this.onChange,
  this.harmonyMode = NiceColorHarmony.analogous,
  this.showWheel = true,
  this.showContrast = true,
  this.showPresets = true,
  this.minColors = 2,
  this.maxColors = 8,
});