StockAnimation class

Predefined animations.

If you want to define your own keyframes this site could be helpful: https://coveloping.com/tools/css-animation-generator

Usage: final MdlAnimation bounceInRight = new MdlAnimation.fromStock(StockAnimation.BounceInRight); ... bounceInRight(element).then((_) => _logger.info("Animation completed!"));

Constructors

StockAnimation(Duration duration, Map<int, Map<String, Object>> keyframes, AnimationTiming timing)
Specify your set of keyframes

Properties

duration ↔ Duration
Specifies the length of the animation
read / write
keyframes → Map<int, Map<String, Object>>
The keyframes for the animation
final
timing AnimationTiming
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

change({Duration duration }) StockAnimation
Modify the StockAnimation to your needs [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

BounceInBottom StockAnimation
final
BounceInRight StockAnimation
final
BounceInTop StockAnimation
final
FadeIn StockAnimation
final
FadeOut StockAnimation
final
FlushRight StockAnimation
final
MoveUpAndDisappear StockAnimation
final
NoOp StockAnimation
final
Shrink StockAnimation
final