phaseOffsetFraction property
The current progress an element's phase is going through. If phase is identity this value is 1. If phase is topLeading, it goes from 0 towards 1 as it leaves the screen. If phase is bottomTrailing, it goes from 0 towards 1 as it enters the screen.
Implementation
final double phaseOffsetFraction;