ColorPicker constructor

const ColorPicker({
  1. required ValueChanged<Color> onChanged,
  2. Color color = Colors.blue,
  3. Picker initialPicker = Picker.paletteHue,
  4. PickerOrientation pickerOrientation = PickerOrientation.inherit,
  5. double paletteHeight = 280,
  6. Key? key,
})

Implementation

const ColorPicker({
  required this.onChanged,
  this.color = Colors.blue,
  this.initialPicker = Picker.paletteHue,
  this.pickerOrientation = PickerOrientation.inherit,
  this.paletteHeight = 280,
  Key? key,
}) : super(key: key);