currentDriftSeconds property
double
get
currentDriftSeconds
The drift time this paint uses (0 under Reduce Motion).
Implementation
double get currentDriftSeconds => reduceMotion || spec.driftPeriodMs <= 0
? 0
: driftSeconds ?? AmbientClock.instance.seconds;