SeekBar constructor

SeekBar({
  1. Key? key,
  2. double progressWidth = 2.0,
  3. double thumbRadius = 14.0,
  4. double value = 0.0,
  5. double secondValue = 0.0,
  6. Color barColor = const Color(0xFFE9F3FA),
  7. Color progressColor = Colors.white,
  8. Color secondProgressColor = const Color(0xFFE9F3FA),
  9. Color thumbColor = Colors.white,
  10. Function? onStartTrackingTouch,
  11. ValueChanged<double>? onProgressChanged,
  12. Function? onStopTrackingTouch,
})

Implementation

SeekBar({
  Key? key,
  this.progressWidth = 2.0,
  this.thumbRadius = 14.0,
  this.value = 0.0,
  this.secondValue = 0.0,
  this.barColor = const Color(0xFFE9F3FA),
  this.progressColor = Colors.white,
  this.secondProgressColor = const Color(0xFFE9F3FA),
  this.thumbColor = Colors.white,
  this.onStartTrackingTouch,
  this.onProgressChanged,
  this.onStopTrackingTouch,
}) : super(key: key);