VideoProgressBar constructor

const VideoProgressBar({
  1. Key? key,
  2. required double progress,
  3. required double videoLength,
  4. required dynamic onProgress(
    1. double
    ),
  5. Color backgroundColor = const Color.fromARGB(122, 0, 0, 0),
  6. required bool isPlaying,
  7. required Function playClicked,
  8. required bool isMute,
  9. required Function muteClicked,
})

Implementation

const VideoProgressBar(
    {super.key,
    required this.progress,
    required this.videoLength,
    required this.onProgress,
    this.backgroundColor = const Color.fromARGB(122, 0, 0, 0),
    required this.isPlaying,
    required this.playClicked,
    required this.isMute,
    required this.muteClicked});