NiceColorPalette constructor
const
NiceColorPalette({ - Key? key,
- List<Color> value = const [],
- void onChange(
- List<Color> colors
)?,
- NiceColorHarmony harmonyMode = NiceColorHarmony.analogous,
- bool showWheel = true,
- bool showContrast = true,
- bool showPresets = true,
- int minColors = 2,
- 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,
});