ColorPicker constructor
const
ColorPicker({
- required ValueChanged<
Color> onColorSelected, - required Color selectedColor,
- required ColorPickerConfig config,
- required VoidCallback onClose,
- VoidCallback? onEyeDropper,
- VoidCallback? onKeyboard,
- ValueChanged<
Set< ? onSwatchesUpdate,Color> > - Set<
Color> swatches = const {}, - bool darkMode = false,
- Key? key,
Implementation
const ColorPicker({
required this.onColorSelected,
required this.selectedColor,
required this.config,
required this.onClose,
this.onEyeDropper,
this.onKeyboard,
this.onSwatchesUpdate,
this.swatches = const {},
this.darkMode = false,
Key? key,
}) : super(key: key);