GetTickerProvider class abstract interface

Common interface of GetSingleTickerProviderStateMixin and GetTickerProviderStateMixin: a TickerProvider whose tickers follow the TickerMode of the widget subtree that forwards its dependency changes to didChangeDependencies.

GetX, GetBuilder and Bind check for this interface once instead of dispatching on each concrete mixin.

Implemented types
Implementers

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) Ticker
Creates a ticker with the given callback.
inherited
didChangeDependencies(BuildContext context) → void
Binds the tickers created by this provider to the TickerMode that surrounds context, so they are muted whenever tickers are disabled in that subtree.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited