createTicker method
Creates a ticker with the given callback.
The kind of ticker provided depends on the kind of ticker provider.
Implementation
@override
Ticker createTicker(TickerCallback onTick) {
disposeExistingAnimation();
_ticker =
Ticker(onTick, debugLabel: kDebugMode ? 'created by $this' : null);
return _ticker!;
}