DrawColorRow constructor

const DrawColorRow({
  1. Key? key,
  2. required Color selected,
  3. required ValueChanged<Color> onSelect,
})

Marks selected and reports a pick through onSelect.

Implementation

const DrawColorRow({
  super.key,
  required this.selected,
  required this.onSelect,
});