AnimateManager<T> mixin
Provides a common interface for Animate and AnimateList to attach Effect extensions.
- Mixin applications
- Available extensions
- AlignEffectExtensions
- BlurEffectExtensions
- BoxShadowEffectExtensions
- CallbackEffectExtensions
- ColorEffectExtension
- CrossfadeEffectExtensions
- CustomEffectExtensions
- EffectExtensions
- ElevationEffectExtensions
- FadeEffectExtensions
- FlipEffectExtensions
- FollowPathEffectExtensions
- ListenEffectExtensions
- MoveEffectExtensions
- RotateEffectExtensions
- SaturateEffectExtensions
- ScaleEffectExtensions
- ShaderEffectExtensions
- ShakeEffectExtensions
- ShimmerEffectExtensions
- SlideEffectExtensions
- SwapEffectExtensions
- ThenEffectExtensions
- TintEffectExtensions
- ToggleEffectExtensions
- VisibilityEffectExtensions
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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 betweenbegin
andend
(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 acallback
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 betweenbegin
andend
, composited with the target usingblendMode
(via ColorFiltered). A color value ofnull
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 abuilder
method that accepts a BuildContext, target child, and calculated animation value betweenbegin
andend
. -
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 of1
(normal saturation) and an end value of0
(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 inheritabledelay
,duration
, andcurve
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 betweenbegin
andend
(via PhysicalModel). You can also specify a shadowcolor
andborderRadius
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 specifiedbegin
andend
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 specifiedbegin
value and1.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 between0.0
and the specifiedend
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. Thebegin
andend
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). Thebegin
andend
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). Thebegin
andend
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 specifiedpath
(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 tofalse
(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 acallback
function with its current animation value betweenbegin
andend
. -
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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 betweenbegin
andend
(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 of0
(fully desaturated / grayscale) and an end value of1
(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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 totrue
(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 specifiedbegin
andend
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 specifiedbegin
andend
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 specifiedbegin
andend
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 optionaldelay
. 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 animatedcolor
tint to the target (via ColorFiltered). Defaults to a begin value of0
(0% tint) and an end value of1
(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 abuilder
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 animatedcolor
tint to the target (via ColorFiltered). Defaults to a begin value of1
(100% tint) and an end value of0
(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