ShimmerDirection class Null safety

A direction along which the shimmer animation will travel

Shimmer animation can travel in 6 possible directions:

Diagonal Directions:

Directions along the axes:

Constructors

ShimmerDirection()
factory
ShimmerDirection.fromLBRT()
Animation starts from Left Bottom and moves towards the Right Top
const
factory
ShimmerDirection.fromLeftToRight()
Animation starts from Left Center and moves towards the Right Center
const
factory
ShimmerDirection.fromLTRB()
Animation starts from Left Top and moves towards the Right Bottom
const
factory
ShimmerDirection.fromRBLT()
Animation starts from Right Bottom and moves towards the Left Top
const
factory
ShimmerDirection.fromRightToLeft()
Animation starts from Right Center and moves towards the Left Center
const
factory
ShimmerDirection.fromRTLB()
Animation starts from Right Top and moves towards the Left Bottom
const
factory

Properties

begin Alignment
final
end Alignment
final
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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