AnimatedWidgetBuilder class
Builder that accumulates animation configuration Can be used directly as a Widget in widget trees
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- AnimatedWidgetBuilder
- Available extensions
Constructors
- AnimatedWidgetBuilder({Key? key, required Widget child, required AnimationConfig config})
-
const
Properties
- child → Widget
-
final
- config → AnimationConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
animate(
) → AnimatedWidgetBuilder -
Available on Widget, provided by the AnimateExtension extension
Start the animation chain -
bounce(
) → AnimatedWidgetBuilder - Bounce animation
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
curve(
Curve curve) → AnimatedWidgetBuilder - Animation curve
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
delay(
dynamic delayValue) → AnimatedWidgetBuilder - Animation delay Accepts Duration, DurationShorthand, or String (e.g., ".500ms", ".5s", ".5m")
-
duration(
dynamic durationValue) → AnimatedWidgetBuilder - Animation duration Accepts Duration, DurationShorthand, or String (e.g., ".500ms", ".5s", ".5m")
-
fadeIn(
) → AnimatedWidgetBuilder - Fade in animation (opacity 0 to 1)
-
fadeInScale(
double scaleValue) → AnimatedWidgetBuilder - Combine fade in and scale
-
fadeOut(
) → AnimatedWidgetBuilder - Fade out animation (opacity 1 to 0)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
opacity(
double value) → AnimatedWidgetBuilder - Set custom opacity
-
persist(
) → AnimatedWidgetBuilder - Keep animation state (don't reset on rebuild)
-
pulse(
) → AnimatedWidgetBuilder - Pulse animation
-
repeat(
{bool reverse = false}) → AnimatedWidgetBuilder - Repeat animation
-
repeatCount(
int count, {bool reverse = false}) → AnimatedWidgetBuilder - Repeat animation specific number of times
-
rotate(
double degrees) → AnimatedWidgetBuilder - Rotate animation (in degrees)
-
scale(
double value) → AnimatedWidgetBuilder - Apply scale transformation
-
scaleX(
double value) → AnimatedWidgetBuilder - Apply scale on X axis
-
scaleY(
double value) → AnimatedWidgetBuilder - Apply scale on Y axis
-
slideInBottom(
) → AnimatedWidgetBuilder - Slide in from bottom
-
slideInLeft(
) → AnimatedWidgetBuilder - Slide in from left
-
slideInRight(
) → AnimatedWidgetBuilder - Slide in from right
-
slideInTop(
) → AnimatedWidgetBuilder - Slide in from top
-
slideX(
double value) → AnimatedWidgetBuilder - Slide on X axis
-
slideY(
double value) → AnimatedWidgetBuilder - Slide on Y axis
-
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited