LoadingStateVariant class abstract

Describes what kind of placholder should be used while the image is loading.

Constructors

LoadingStateVariant({Curve? curve, Duration? animationDuration})
const
LoadingStateVariant.blurHash({Curve? curve, Duration? animationDuration, String? value})
A placeholder generated from a blur hash. See https://pub.dev/packages/flutter_blurhash.
factory
LoadingStateVariant.loadingIndicator({double size, double strokeWidth, Color? color})
A default CircularProgressIndicator or CupertinoActivityIndicator will be used as a placeholder.
factory
LoadingStateVariant.shimmer({Curve? curve, Duration? animationDuration, double? initialProgress})
factory
LoadingStateVariant.solidColor({Color? color, Curve? curve, Duration? animationDuration})
A solid color placeholder.
factory

Properties

animationDuration Duration
The duration of the transtion between loading placeholder and the actual image.
final
curve Curve
The curve of the transtion between loading placeholder and the actual image.
final
hashCode int
The hash code for this object.
no setterinherited
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