EasyImageProvider class abstract
Provider for images, their count and the initial index to display
- Implementers
Constructors
Properties
- animationCurve ↔ Curve
-
Animation curve for the image transition (fade in after loading)
getter/setter pair
- animationDuration ↔ Duration
-
Animation duration for the image transition (fade in after loading)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageCount → int
-
Total count of images
no setter
- initialIndex → int
-
Index of the initial image to display
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
errorWidgetBuilder(
BuildContext context, int index, Object error, StackTrace? stackTrace) → Widget -
Builds the error widget for the image at the specified
index
. -
imageBuilder(
BuildContext context, int index) → ImageProvider< Object> -
Returns the image for the given
index
. -
imageWidgetBuilder(
BuildContext context, int index) → Widget -
Returns the image widget for the given
index
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
progressIndicatorWidgetBuilder(
BuildContext context, int index, {double? value}) → Widget -
Returns the progress indicator widget for the given
index
. The default implementation returns a CircularProgressIndicator. Override this method to customize the progress indicator. Thevalue
parameter is the progress value between 0.0 and 1.0. Ifvalue
is null, the progress indicator is in indeterminate mode. Theindex
parameter is the index of the image being loaded. Thecontext
parameter is the build context. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited