SleepProgress constructor

SleepProgress({
  1. bool? error,
  2. Key? key,
  3. required int max,
  4. required Stream<ProgressValue?> stream,
  5. required TestRunnerThemeData theme,
})

Implementation

SleepProgress({
  this.error,
  Key? key,
  required this.max,
  required this.stream,
  required this.theme,
})  : assert(max >= 0),
      super(key: key);