ProgressBar constructor

const ProgressBar({
  1. Key? key,
  2. required Duration duration,
  3. bool isCurrentIndex = false,
  4. bool isCompleted = false,
  5. required Function onCompleted,
  6. Function? onTapHold,
  7. required ValueNotifier<bool> isPaused,
  8. required ValueNotifier<double> progressLevel,
})

Implementation

const ProgressBar({
  super.key,
  required this.duration,
  this.isCurrentIndex = false,
  this.isCompleted = false,
  required this.onCompleted,
  this.onTapHold,
  required this.isPaused,
  required this.progressLevel,
});