AnimatationAndMotionExtensions extension

Extensions for animation and motion

on

Methods

animatedAligned({required AlignmentGeometry alignment, required Duration duration, Key? key, double? heightFactor, double? widthFactor, Curve curve = Curves.linear, VoidCallback? onEnd}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated version of Align which automatically transitions the child's position over a given duration whenever the given alignment changes.
animatedContained({required Duration duration, Key? key, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Clip clipBehavior = Clip.none, Curve curve = Curves.linear, VoidCallback? onEnd}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Implicitly animated all container properties. Does not animate the widget is it being called on.
animatedDefaultTextStyle({required TextStyle style, required Duration duration, Key? key, TextAlign? textAlign, bool softWrap = true, TextOverflow overflow = TextOverflow.clip, int? maxLines, TextWidthBasis textWidthBasis = TextWidthBasis.parent, TextHeightBehavior? textHeightBehavior, Curve curve = Curves.linear, VoidCallback? onEnd}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.
animatedOpacity({required double opacity, required Duration duration, Key? key, Curve curve = Curves.linear, VoidCallback? onEnd, bool alwaysIncludeSemantics = false}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated version of Opacity which automatically transitions the child's opacity over a given duration whenever the given opacity changes.
animatedPhysicalModel({required BoxShape shape, required double elevation, required Color color, required Color shadowColor, required Duration duration, Key? key, Clip clipBehavior = Clip.none, BorderRadius borderRadius = BorderRadius.zero, bool animateColor = true, bool animateShadowColor = true, Curve curve = Curves.linear, VoidCallback? onEnd}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated version of PhysicalModel.
animatedPositioned({required Duration duration, Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, Curve curve = Curves.linear, VoidCallback? onEnd}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated version of Positioned which automatically transitions the child's position over a given duration whenever the given position changes.
animatedSize({required Duration duration, Key? key, AlignmentGeometry alignment = Alignment.center, Curve curve = Curves.linear, Duration? reverseDuration, Clip clipBehavior = Clip.hardEdge}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated widget that automatically transitions its size over a given duration whenever the given child's size changes.
fadeTransition({required Animation<double> opacity, Key? key, bool alwaysIncludeSemantics = false}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animates the opacity of a widget.
hero({required Object tag, Key? key, CreateRectTween? createRectTween, HeroFlightShuttleBuilder? flightShuttleBuilder, HeroPlaceholderBuilder? placeholderBuilder, bool transitionOnUserGestures = false}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

A widget that marks its child as being a candidate for hero animations.
positionedTransition({required Animation<RelativeRect> rect, Key? key}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animated version of Positioned which takes a specific Animation
rotationTransition({required Animation<double> turns, Key? key, Alignment alignment = Alignment.center, FilterQuality? filterQuality}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animates the rotation of a widget.
scaleTransition({required Animation<double> scale, Key? key, Alignment alignment = Alignment.center, FilterQuality? filterQuality}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animates the scale of a transformed widget.
sizeTransition({required Animation<double> sizeFactor, Key? key, Axis axis = Axis.vertical, double axisAlignment = 0.0}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animates its own size and clips and aligns its child.
slideTransition({required Animation<Offset> position, Key? key, bool transformHitTests = true, TextDirection? textDirection}) Widget

Available on Widget, provided by the AnimatationAndMotionExtensions extension

Animates the position of a widget relative to its normal position.