MiuixOkLabColorPicker constructor
const
MiuixOkLabColorPicker({
- Key? key,
- required Color color,
- required ValueChanged<
Color> onColorChanged, - bool showPreview = true,
- MiuixSliderHapticEffect hapticEffect = MiuixSliderDefaults.defaultHapticEffect,
Implementation
const MiuixOkLabColorPicker({
super.key,
required this.color,
required this.onColorChanged,
this.showPreview = true,
this.hapticEffect = MiuixSliderDefaults.defaultHapticEffect,
});