PagedChildBuilderDelegate<ItemType> class
Supplies builders for the visual components of paged views.
The generic type ItemType
must be specified in order to properly identify
the list item’s type.
Constructors
-
PagedChildBuilderDelegate({required ItemWidgetBuilder<
ItemType> itemBuilder, WidgetBuilder? firstPageErrorIndicatorBuilder, WidgetBuilder? newPageErrorIndicatorBuilder, WidgetBuilder? firstPageProgressIndicatorBuilder, WidgetBuilder? newPageProgressIndicatorBuilder, WidgetBuilder? noItemsFoundIndicatorBuilder, WidgetBuilder? noMoreItemsIndicatorBuilder, bool animateTransitions = false, Duration transitionDuration = const Duration(milliseconds: 250)})
Properties
- animateTransitions → bool
-
Whether status transitions should be animated.
final
- firstPageErrorIndicatorBuilder → WidgetBuilder?
-
The builder for the first page's error indicator.
final
- firstPageProgressIndicatorBuilder → WidgetBuilder?
-
The builder for the first page's progress indicator.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
itemBuilder
→ ItemWidgetBuilder<
ItemType> -
The builder for list items.
final
- newPageErrorIndicatorBuilder → WidgetBuilder?
-
The builder for a new page's error indicator.
final
- newPageProgressIndicatorBuilder → WidgetBuilder?
-
The builder for a new page's progress indicator.
final
- noItemsFoundIndicatorBuilder → WidgetBuilder?
-
The builder for a no items list indicator.
final
- noMoreItemsIndicatorBuilder → WidgetBuilder?
-
The builder for an indicator that all items have been fetched.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionDuration → Duration
-
The duration of animated transitions when animateTransitions is
true
.final
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