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