widget_and_text_animator library
Classes
- AnimationAtRestStyle
- AnimationAtRestStyle base abstract class for all 'At Rest' animation settings to use
- AnimationSettings
- AnimationSettings is used to store the settings that drive all the animations, these are mostly Animation objects that tweens are set on they are initialised with default sensible options
- AnimationStyleBounce
- At rest animation AnimationStyleBounce bounces the widget by lifting it up and bouncing it down
- AnimationStyleDangle
- At rest animation AnimationStyleDangle which skews the widget to the right and back to the left from the top of the widget giving it an effect of dangling
- AnimationStyleFidget
- At rest animation AnimationStyleFidget which randomly slightly moves the widget position around
- AnimationStyleNone
- At rest animation AnimationStyleNone used when no animation is required
- AnimationStylePulse
-
At rest animation AnimationStylePulse for changing the opacity of the widget, the effect strength should be in a range of
0..1
- AnimationStyleRotate
- At rest animation AnimationAtRestStyle rotates the widget around a center axis, using a Curves.easeInOut if you want a rest on each rotation
- AnimationStyleSize
- At rest animation AnimationAtRestStyle changes the size of the widget, small effect strength will shrink the scale (e.g. 0.5), larger numbers will grow the scale (e.g. 2)
- AnimationStyleSlide
- At rest animation AnimationStyleSlide skew the widget to the right and left on a center axis
- AnimationStyleSwing
- At rest animation AnimationStyleSwing rotate the widget back and forward to give it a swinging effect, note a larger effect strength gives a smaller rotation and a smaller effect strength gives a bigger rotation
- AnimationStyleVibrate
- At rest animation AnimationStyleVibrate vibrates the widget around from its default position randomly fast speeds will make a widget look to vibrate, can also be used on slow like a screensaver that occasionally moves the position of the display to prevent screen burn
- AnimationStyleWave
- At rest animation AnimationStyleWave which waves the widget up and down
- AnimationTransitionStyle
- AnimationTransitionStyle base abstract class for all transition animation settings to use
- GestureAnimator
- TextAnimator
- The TextAnimator is a direct placement for the standard Text widget It makes use of the WidgetAnimator class to allow many different transition effects The class allows you to transition in individual characters or words together to create some cool effects
- TextAnimatorSequence
- TextAnimatorSequence allows you to provide a list of TextAnimator widgets and have them show in sequence The sequence can progress based upon a duration set or by the user tapping on the widget (or both)
- WidgetAnimator
- Widget animator is a class you can wrap around any Widget to enable a collection of different animations effects to it, they are broken down into three categories
- WidgetAnimatorSequence
- WidgetAnimatorSequence allows you to provide a list of WidgetAnimator widgets and have them show in sequence The sequence can progress based upon a duration set or by the user tapping on the widget (or both)
- WidgetRestingEffects
- Class for setting up the animation effects to play while the widget is not transitioning on or off the screen
- WidgetTransitionEffects
- Class for setting up the incoming or outgoing transition effects
Enums
- WidgetRestingEffectStyle
- A range of default effects to show when an widget isn't transitioning and is at rest
- WidgetTransitionEffectStyle
- Sample transition effects for when widgets are either transitioning in or out
Typedefs
- AtRestAnimationSettingsBuilder = AnimationSettings Function(WidgetRestingEffects effects, AnimationController animationController)
- AtRestAnimationSettingsBuilder used for custom builder for 'at rest' animations
- TransitionAnimationSettingsBuilder = AnimationSettings Function(WidgetTransitionEffects effects, AnimationController animationController)
- TransitionAnimationSettingsBuilder used for custom builder for 'transition' animations