ColorSelector constructor

const ColorSelector({
  1. required Color color,
  2. required ValueChanged<Color> onColorChanged,
  3. required FocusNode focus,
  4. VoidCallback? onEyePick,
  5. bool withAlpha = false,
  6. double thumbWidth = 96,
  7. Key? key,
})

Implementation

const ColorSelector({
  required this.color,
  required this.onColorChanged,
  required this.focus,
  this.onEyePick,
  this.withAlpha = false,
  this.thumbWidth = 96,
  Key? key,
}) : super(key: key);