frameCallback method

  1. @override
void frameCallback(
  1. Duration duration
)
override

The frame callback for the ticker.

Implementations of this method should start with a call to super.frameCallback(duration) to ensure the ticker is properly managed.

Implementation

@override
void frameCallback(Duration duration) {
  super.frameCallback(duration);
  _shared.schedulePaint();
}