scheduleTick method

  1. @protected
void scheduleTick ({bool rescheduling: false })
@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);
}