BlockPicker constructor
const
BlockPicker({
- Key? key,
- required Color? pickerColor,
- required ValueChanged<
Color> onColorChanged, - List<
Color> availableColors = _defaultColors, - bool useInShowDialog = true,
- PickerLayoutBuilder layoutBuilder = _defaultLayoutBuilder,
- PickerItemBuilder itemBuilder = _defaultItemBuilder,
Implementation
const BlockPicker({
Key? key,
required this.pickerColor,
required this.onColorChanged,
this.availableColors = _defaultColors,
this.useInShowDialog = true,
this.layoutBuilder = _defaultLayoutBuilder,
this.itemBuilder = _defaultItemBuilder,
}) : super(key: key);