scheduleTick method

  1. @protected
void scheduleTick({
  1. bool rescheduling = false,
})

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);
}