ProgressController constructor
Implementation
ProgressController(
{this.removeFailAfterDuration = true, Duration? failDuration}) {
if (failDuration != null) {
_failDuration = failDuration;
} else {
_failDuration = const Duration(seconds: 10);
}
}