FlipXState class

Inheritance

Constructors

FlipXState()

Properties

context → BuildContext
The location in the tree where this widget builds.
no setterinherited
controller ↔ AnimationController
getter/setter pairinherited
disposed ↔ bool
true after dispose has been called. Used to drop async callbacks (delay timers, loop timers) that resolve after the widget is gone.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isFirstTime ↔ bool
Tracks whether the animation has played at least once. Used to decide if a "reset" should be performed when animate toggles back to false on animations marked with ResetOnReverseAnimation.
getter/setter pairinherited
mounted → bool
Whether this State object is currently in a tree.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
widget → FlipX
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
inherited
buildAnimatedChild(BuildContext context, Widget child) → Widget
Returns the transformed widget for the current animation tick. The child argument is the unchanged widget.child, ready to be wrapped in Transform, Opacity, etc.
configAnimation({required Duration delay, required bool animate, required bool manualTrigger, required bool infinite, Duration loopDelay = Duration.zero, AnimateDoFinishCallback? onFinish, AnimateDoLoopCallback? onLoop, AnimateDoControllerCallback? controllerCallback}) → void
Wires up status listeners and triggers the animation, unless manualTrigger is true. Should be called once from initState.
inherited
createTicker(TickerCallback onTick) → Ticker
Creates a ticker with the given callback.
inherited
createTweens() → void
Build the animations driven by controller. Called from initState after controller has been created.
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant FlipX oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
inherited
disposeAnimation() → void
Cancels any pending start/loop timers. Called from the base state's dispose.
inherited
handleAnimateChange({required Duration delay, required bool animate, required bool manualTrigger, required bool infinite, Duration loopDelay = Duration.zero}) → void
Reacts to animate toggles after initState. Should be called from didUpdateWidget (or any custom flow) when widget.animate changes.
inherited
initState() → void
Called when this object is inserted into the tree.
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.
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
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