PaginationBuilderDelegate<T extends Object> class

Supplies builders for the visual components of paged views.

The generic type T must be specified in order to properly identify the list item’s type.

Constructors

PaginationBuilderDelegate.new({required ItemWidgetBuilder<PaginationData<T>> itemBuilder, WidgetBuilder? completeBuilder, WidgetBuilder? initialError, WidgetBuilder? initialIndicator, WidgetBuilder? nullableError, WidgetBuilder? ongoingError, WidgetBuilder? ongoingIndicator, bool animateTransitions = false, Duration transitionDuration = const Duration(milliseconds: 250)})
const

Properties

animateTransitions bool
Whether status transitions should be animated.
final
completeBuilder WidgetBuilder?
The builder for an indicator that all items have been fetched.
final
hashCode int
The hash code for this object.
no setterinherited
initialError WidgetBuilder?
The builder for the first page's error indicator.
final
initialIndicator WidgetBuilder?
The builder for the first page's progress indicator.
final
itemBuilder ItemWidgetBuilder<PaginationData<T>>
The builder for list items.
final
nullableError WidgetBuilder?
The builder for a no items list indicator.
final
ongoingError WidgetBuilder?
The builder for a new page's error indicator.
final
ongoingIndicator WidgetBuilder?
The builder for a new page's progress indicator.
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