TickerScheduler class
Owns ticker registration and ticks every active ticker once per frame.
Constructors
- TickerScheduler()
- Initializes an empty ticker registry with no frame-request callback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createTicker(
TickerCallback onTick, {String? debugLabel, void onDispose(Ticker)?}) → Ticker - Registers and returns an inactive ticker that unregisters on disposal.
-
handleFrame(
Duration timeStamp) → void - Ticks an active snapshot and requests another frame while work remains.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFrameCallback(
void callback()?) → void -
Replaces the callback used to request a frame;
nulldisables requests. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited