ColorPicker constructor

const ColorPicker({
  1. Key? key,
  2. required Color currentColor,
  3. ValueChanged<Color>? onSave,
  4. ValueChanged<Color>? onChange,
})

Implementation

const ColorPicker({
  Key? key,
  required this.currentColor,
  this.onSave,
  this.onChange,
}) : super(key: key);