AnimateManager<T> mixin

Provides a common interface for Animate and AnimateList to attach Effect extensions.

Mixin applications
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEffect(Effect effect) → T
addEffects(List<Effect> effects) → T
align({Duration? delay, Duration? duration, Curve? curve, Alignment? begin, Alignment? end}) → T

Available on T, provided by the AlignEffectExtensions extension

Adds an AlignEffect that animates the target between the specified begin and end alignments (via Align).
blur({Duration? delay, Duration? duration, Curve? curve, Offset? begin, Offset? end}) → T

Available on T, provided by the BlurEffectExtensions extension

Adds a BlurEffect that animates a blur on the target between the specified begin and end blur radiuses (via ImageFiltered).
blurX({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the BlurEffectExtensions extension

Adds a BlurEffect that animates a horizontal blur on the target between the specified begin and end blur radiuses (via ImageFiltered).
blurXY({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the BlurEffectExtensions extension

Adds a BlurEffect that animates a uniform blur on the target between the specified begin and end blur radiuses (via ImageFiltered).
blurY({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the BlurEffectExtensions extension

Adds a BlurEffect that animates a vertical blur on the target between the specified begin and end blur radiuses (via ImageFiltered).
boxShadow({Duration? delay, Duration? duration, Curve? curve, BoxShadow? begin, BoxShadow? end, BorderRadius? borderRadius}) → T

Available on T, provided by the BoxShadowEffectExtensions extension

Adds a BoxShadowEffect which animates a BoxShadow between begin and end (via DecoratedBox).
callback({Duration? delay, Duration? duration, required ValueChanged<bool> callback}) → T

Available on T, provided by the CallbackEffectExtensions extension

Adds a CallbackEffect that calls a callback function at a particular point in the animation. It includes a boolean value indicating if the animation is playing in reverse.
color({Duration? delay, Duration? duration, Curve? curve, Color? begin, Color? end, BlendMode? blendMode}) → T

Available on T, provided by the ColorEffectExtension extension

Adds a ColorEffect that animates a Color between begin and end, composited with the target using blendMode (via ColorFiltered). A color value of null will be interpreted as a fully transparent version of the other color.
crossfade({Duration? delay, Duration? duration, Curve? curve, required WidgetBuilder builder, Alignment? alignment}) → T

Available on T, provided by the CrossfadeEffectExtensions extension

Adds a CrossfadeEffect that crossfades the incoming child (including preceeding effects) with a new widget (via Stack and FadeTransition).
custom({required CustomEffectBuilder builder, Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the CustomEffectExtensions extension

Adds a CustomEffect that animates effects via a builder method that accepts a BuildContext, target child, and calculated animation value between begin and end.
desaturate({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the SaturateEffectExtensions extension

Adds a SaturateEffect that animates the color saturation of the target. Defaults to a begin value of 1 (normal saturation) and an end value of 0 (fully desaturated / grayscale).
effect({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the EffectExtensions extension

Adds an Effect which has no visual effect. Occasionally useful for setting inheritable delay, duration, and curve values.
elevation({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Color? color, BorderRadius? borderRadius}) → T

Available on T, provided by the ElevationEffectExtensions extension

Adds an ElevationEffect that animates a Material elevation shadow between begin and end (via PhysicalModel). You can also specify a shadow color and borderRadius to add rounded corners.
fade({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the FadeEffectExtensions extension

Adds a FadeEffect that animates the opacity of the target between the specified begin and end values (via FadeTransition).
fadeIn({Duration? delay, Duration? duration, Curve? curve, double? begin}) → T

Available on T, provided by the FadeEffectExtensions extension

Adds a FadeEffect that animates the opacity of the target between the specified begin value and 1.0 (via FadeTransition).
fadeOut({Duration? delay, Duration? duration, Curve? curve, double? begin}) → T

Available on T, provided by the FadeEffectExtensions extension

Adds a FadeEffect that animates the opacity of the target between 0.0 and the specified end value (via FadeTransition).
flip({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, double? perspective, Axis? direction}) → T

Available on T, provided by the FlipEffectExtensions extension

Adds a FlipEffect that animates a 2.5D card flip rotation effect (via Transform). The effect can be horizontal or vertical. The begin and end values specify the number of "flips" (ie. half turns, 180° or 𝝅 radians) from nominal.
flipH({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, double? perspective}) → T

Available on T, provided by the FlipEffectExtensions extension

Adds a FlipEffect that animates a horizontal 2.5D card flip rotation effect (via Transform). The begin and end values specify the number of "flips" (ie. half turns, 180° or 𝝅 radians) from nominal.
flipV({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, double? perspective}) → T

Available on T, provided by the FlipEffectExtensions extension

Adds a FlipEffect that animates a vertical 2.5D card flip rotation effect (via Transform). The begin and end values specify the number of "flips" (ie. half turns, 180° or 𝝅 radians) from nominal.
followPath({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, required dynamic path, bool? rotate, double? rotationOffset, bool? transformHitTests}) → T

Available on T, provided by the FollowPathEffectExtensions extension

Adds a FollowPathEffect that moves the target following the specified path (via Transform). The path coordinates are relative to the target's nominal position.
hide({Duration? delay, Duration? duration, bool? maintain}) → T

Available on T, provided by the VisibilityEffectExtensions extension

Adds a VisibilityEffect that toggles the visibility of the target to false (via Visibility).
listen({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, required ValueChanged<double> callback, bool clamp = true}) → T

Available on T, provided by the ListenEffectExtensions extension

Adds a ListenEffect that calls a callback function with its current animation value between begin and end.
move({Duration? delay, Duration? duration, Curve? curve, Offset? begin, Offset? end, bool? transformHitTests}) → T

Available on T, provided by the MoveEffectExtensions extension

Adds a MoveEffect that moves the target between the specified begin and end offsets (via Transform.translate).
moveX({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, bool? transformHitTests}) → T

Available on T, provided by the MoveEffectExtensions extension

Adds a MoveEffect that moves the target horizontally between the specified begin and end pixel amounts (via Transform.translate).
moveY({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, bool? transformHitTests}) → T

Available on T, provided by the MoveEffectExtensions extension

Adds a MoveEffect that moves the target vertically between the specified begin and end pixel amounts (via Transform.translate).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, bool? transformHitTests}) → T

Available on T, provided by the RotateEffectExtensions extension

Adds a RotateEffect that rotates the target between begin and end (via RotationTransition). Values are specified in "turns" (360° or 2𝝅 radians).
saturate({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the SaturateEffectExtensions extension

Adds a SaturateEffect that animates the color saturation of the target. Defaults to a begin value of 0 (fully desaturated / grayscale) and an end value of 1 (normal saturation).
scale({Duration? delay, Duration? duration, Curve? curve, Offset? begin, Offset? end, Alignment? alignment, bool? transformHitTests}) → T

Available on T, provided by the ScaleEffectExtensions extension

Adds a ScaleEffect that scales the target between the specified begin and end offset values (via Transform.scale).
scaleX({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, bool? transformHitTests}) → T

Available on T, provided by the ScaleEffectExtensions extension

Adds a ScaleEffect that scales the target horizontally between the specified begin and end values (via Transform.scale).
scaleXY({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, bool? transformHitTests}) → T

Available on T, provided by the ScaleEffectExtensions extension

Adds a ScaleEffect that scales the target uniformly between the specified begin and end values (via Transform.scale).
scaleY({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Alignment? alignment, bool? transformHitTests}) → T

Available on T, provided by the ScaleEffectExtensions extension

Adds a ScaleEffect that scales the target vertically between the specified begin and end values (via Transform.scale).
shader({Duration? delay, Duration? duration, Curve? curve, FragmentShader? shader, EdgeInsets? overflow, ShaderLayer? layer, ShaderUpdateCallback? update}) → T

Available on T, provided by the ShaderEffectExtensions extension

Adds a ShaderEffect that applies an animated fragment shader to a target.
shake({Duration? delay, Duration? duration, Curve? curve, double? hz, Offset? offset, double? rotation}) → T

Available on T, provided by the ShakeEffectExtensions extension

Adds a ShakeEffect that shakes the target, using translation, rotation, or both (via Transform).
shakeX({Duration? delay, Duration? duration, Curve? curve, double? hz, double? amount}) → T

Available on T, provided by the ShakeEffectExtensions extension

Adds a ShakeEffect that shakes the target horizontally (via Transform).
shakeY({Duration? delay, Duration? duration, Curve? curve, double? hz, double? amount}) → T

Available on T, provided by the ShakeEffectExtensions extension

Adds a ShakeEffect that shakes the target vertically (via Transform).
shimmer({Duration? delay, Duration? duration, Curve? curve, Color? color, List<Color>? colors, List<double>? stops, double? size, double? angle, BlendMode? blendMode, double? padding}) → T

Available on T, provided by the ShimmerEffectExtensions extension

Adds a ShimmerEffect that animates gradient overlay effects (via ShaderMask), such as the shimmer loading effect.
show({Duration? delay, Duration? duration, bool? maintain}) → T

Available on T, provided by the VisibilityEffectExtensions extension

Adds a VisibilityEffect that toggles the visibility of the target to true (via Visibility).
slide({Duration? delay, Duration? duration, Curve? curve, Offset? begin, Offset? end}) → T

Available on T, provided by the SlideEffectExtensions extension

Adds a SlideEffect that moves the target based on a fraction of its size per the specified begin and end offsets (via SlideTransition).
slideX({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the SlideEffectExtensions extension

Adds a SlideEffect that moves the target horizontally based on a fraction of its size per the specified begin and end values (via SlideTransition).
slideY({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end}) → T

Available on T, provided by the SlideEffectExtensions extension

Adds a SlideEffect that moves the target vertically based on a fraction of its size per the specified begin and end values (via SlideTransition).
swap({Duration? delay, Duration? duration, required TransitionBuilder builder}) → T

Available on T, provided by the SwapEffectExtensions extension

Adds a SwapEffect that swaps out the incoming child for a new child at a particular point in time. This includes all preceding effects.
then({Duration? delay, Duration? duration, Curve? curve}) → T

Available on T, provided by the ThenEffectExtensions extension

Adds a ThenEffect that makes it easier to sequence effects after one another. It does this by establishing a new baseline time equal to the previous effect's end time and its own optional delay. All subsequent effect delays are relative to this new baseline.
tint({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Color? color}) → T

Available on T, provided by the TintEffectExtensions extension

Adds a TintEffect that applies an animated color tint to the target (via ColorFiltered). Defaults to a begin value of 0 (0% tint) and an end value of 1 (100% tint).
toggle({Duration? delay, Duration? duration, required ToggleEffectBuilder builder}) → T

Available on T, provided by the ToggleEffectExtensions extension

Adds a ToggleEffect that allows you to toggle the behavior of a builder function at a certain point in time.
toString() String
A string representation of this object.
inherited
untint({Duration? delay, Duration? duration, Curve? curve, double? begin, double? end, Color? color}) → T

Available on T, provided by the TintEffectExtensions extension

Adds a TintEffect that applies an animated color tint to the target (via ColorFiltered). Defaults to a begin value of 1 (100% tint) and an end value of 0 (0% tint).
visibility({Duration? delay, Duration? duration, bool? end, bool? maintain}) → T

Available on T, provided by the VisibilityEffectExtensions extension

Adds a VisibilityEffect that toggles the visibility of the target (via Visibility).

Operators

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