ProgressBar constructor
const
ProgressBar({
- Key? key,
- required Duration duration,
- bool isCurrentIndex = false,
- bool isCompleted = false,
- required Function onCompleted,
- Function? onTapHold,
- required ValueNotifier<
bool> isPaused, - 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,
});