ShimmerDirection class
A direction along which the shimmer animation will travel
Shimmer animation can travel in 6 possible directions:
Diagonal Directions:
- ShimmerDirection.fromLTRB : animation starts from Left Top and moves towards the Right Bottom. This is also the default behaviour if no direction is specified.
- ShimmerDirection.fromRTLB : animation starts from Right Top and moves towards the Left Bottom
- ShimmerDirection.fromLBRT : animation starts from Left Bottom and moves towards the Right Top
- ShimmerDirection.fromRBLT : animation starts from Right Bottom and moves towards the Left Top
Directions along the axes:
- ShimmerDirection.fromLeftToRight : animation starts from Left Center and moves towards the Right Center
- ShimmerDirection.fromRightToLeft : animation starts from Right Center and moves towards the Left Center
Constructors
- ShimmerDirection()
-
factory
- ShimmerDirection.fromLBRT()
-
Animation starts from Left Bottom and moves towards the Right Top
constfactory
- ShimmerDirection.fromLeftToRight()
-
Animation starts from Left Center and moves towards the Right Center
constfactory
- ShimmerDirection.fromLTRB()
-
Animation starts from Left Top and moves towards the Right Bottom
constfactory
- ShimmerDirection.fromRBLT()
-
Animation starts from Right Bottom and moves towards the Left Top
constfactory
- ShimmerDirection.fromRightToLeft()
-
Animation starts from Right Center and moves towards the Left Center
constfactory
- ShimmerDirection.fromRTLB()
-
Animation starts from Right Top and moves towards the Left Bottom
constfactory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited