FadeInImageTransition enum
Defines how a FadeInImage transitions from its FadeInImage.placeholder to its FadeInImage.image once the image has loaded.
Values
- sequential → const FadeInImageTransition
-
The placeholder fades out, then the image fades in.
The fade-out of the placeholder is controlled by FadeInImage.fadeOutDuration and FadeInImage.fadeOutCurve, and the subsequent fade-in of the image is controlled by FadeInImage.fadeInDuration and FadeInImage.fadeInCurve.
- fadeInOver → const FadeInImageTransition
-
The image fades in on top of the placeholder.
The placeholder remains at full opacity until the image has fully faded in, so there is no intermediate frame where neither image is fully opaque.
The placeholder is not faded out in this mode, so FadeInImage.fadeOutDuration and FadeInImage.fadeOutCurve must be omitted or null. Only FadeInImage.fadeInDuration and FadeInImage.fadeInCurve are used.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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
Constants
-
values
→ const List<
FadeInImageTransition> - A constant List of the values in this enum, in order of their declaration.