scheduleTick method Null safety
- {bool rescheduling = false}
protected">@protected
Schedules a tick for the next frame.
This should only be called if shouldScheduleTick is true.
Implementation
@protected
void scheduleTick({ bool rescheduling = false }) {
assert(!scheduled);
assert(shouldScheduleTick);
_animationId = SchedulerBinding.instance.scheduleFrameCallback(_tick, rescheduling: rescheduling);
}