ShimmerType class abstract
Abstraction defining type of the shimmer animation.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- placeholderText → String
-
The text to be displayed as a placeholder
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
fixed(
{int placeholderLength = 12}) → ShimmerTypeFixed - Creates a shimmer configuration with a given fixed length
-
proportional(
{int trailingFlex = 5, int leadingFlex = 3}) → ShimmerTypeProportional - Creates a shimmer configuration with user predefined leading and trailing flex
-
random(
{int minLeadingFlex = 3, int maxLeadingFlex = 5, int trailingFlex = 2}) → ShimmerTypeRandom - Creates a shimmer configuration with random leading and trailing flex within the provided range.