progress property

  1. @override
double get progress
override

The current progress of the effect, a value between 0 and 1.

Implementation

@override
double get progress => completed ? 1 : (timer / duration);