HorizontalProgressBar constructor

const HorizontalProgressBar({
  1. Key? key,
  2. required double maxValue,
  3. required double currentPosition,
  4. required ValueChanged<double> onChanged,
  5. double? width,
  6. double? bufferedPosition,
  7. ValueChanged<double>? onChangeStart,
  8. ValueChanged<double>? onChangeEnd,
  9. Color bufferedColor = Colors.grey,
  10. Color progressColor = Colors.blue,
  11. Color thumbColor = const Color.fromRGBO(13, 71, 161, 1),
  12. double thumbDiameter = 15,
  13. double trackHeight = 10,
  14. double enabledHeight = 10,
  15. bool isThumbVisible = true,
})

Implementation

const HorizontalProgressBar(
    {super.key,
    required this.maxValue,
    required this.currentPosition,
    required this.onChanged,
    this.width,
    this.bufferedPosition,
    this.onChangeStart,
    this.onChangeEnd,
    this.bufferedColor = Colors.grey,
    this.progressColor = Colors.blue,
    this.thumbColor = const Color.fromRGBO(13, 71, 161, 1),
    this.thumbDiameter = 15,
    this.trackHeight = 10,
    this.enabledHeight = 10,
    this.isThumbVisible = true});