frameCallback method
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();
}