AnimatableParameterHostMixin mixin

A mixin that implements most of the functionality of a AnimatableParameterHost.

Usually you don't need to use this mixin directly. Instead, use classes that make use of it, such as AnimatableStatelessWidget and AnimatableSingleChildRenderObjectWidgetMixin.

Superclass Constraints
Implemented types

Properties

context BuildContext
Returns the BuildContext of where this host is located.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activateAnimatableParameterHost() → void
Must be called by the class that uses this mixin when it is activated at a new location in the tree.
animatableParameterChanged() → void
Notifies this State that one of its AnimatableParameters has changed.
inherited
applyUpdateToAnimatableParameters() → void
Updates the values of the hosted AnimatableParameters.
createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
disposeAnimatableParametersHost() → void
Disposes resources managed by this mixin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAnimatableParameter(AnimatableParameter<void> parameter) → void
Registers an animatable parameter of the widget.
override
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
updateAnimatableParameters() → void
This method must update the hosted AnimatableParameters to their new values.
inherited

Operators

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