BarColorPicker constructor

const BarColorPicker({
  1. Key? key,
  2. PickMode pickMode = PickMode.color,
  3. bool horizontal = true,
  4. double width = 200,
  5. double cornerRadius = 0.0,
  6. double thumbRadius = 8,
  7. Color initialColor = const Color(0xffff0000),
  8. Color thumbColor = Colors.black,
  9. required ColorListener colorListener,
})

Implementation

const BarColorPicker({
  super.key,
  this.pickMode = PickMode.color,
  this.horizontal = true,
  this.width = 200,
  this.cornerRadius = 0.0,
  this.thumbRadius = 8,
  this.initialColor = const Color(0xffff0000),
  this.thumbColor = Colors.black,
  required this.colorListener,
});