BlockPicker constructor

const BlockPicker({
  1. Key? key,
  2. required Color? pickerColor,
  3. required ValueChanged<Color> onColorChanged,
  4. List<Color> availableColors = _defaultColors,
  5. bool useInShowDialog = true,
  6. PickerLayoutBuilder layoutBuilder = _defaultLayoutBuilder,
  7. 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);