ProgressAnimation constructor

ProgressAnimation({
  1. required List<String> frames,
  2. Duration stepDuration = const Duration(milliseconds: 100),
})

Implementation

ProgressAnimation({
  required this.frames,
  this.stepDuration = const Duration(milliseconds: 100),
}) : assert(frames.isNotEmpty, 'frames must not be empty');