SingleTickerProviderViewStateMixin mixin
- Superclass constraints
- Implemented types
Properties
- context → BuildContext
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMounted → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(
) → void -
Called when this ViewModel and BaseView are reinserted into
the tree after having been removed via deactivate.
override
-
createTicker(
TickerCallback onTick) → Ticker -
Creates a ticker with the given callback.
override
-
deactivate(
) → void -
Called when this ViewModel and BaseView are removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
didChangeDependencies(
) → void -
Called when a dependency (by Build Context) of this View Model changes.
inherited
-
dispose(
) → void -
Called when BaseView with this ViewModel is removed from the tree
permanently.
Should be used for preparation to be garbage collected.
override
-
initState(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload. Most cases therefore do not need to do
anything in the reassemble method.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited