LoadingMoreListConfig<T> class
- Implementers
Constructors
-
LoadingMoreListConfig(Widget itemBuilder(BuildContext context, T item, int index), LoadingMoreBase<
T> sourceList, {LoadingMoreIndicatorBuilder? indicatorBuilder, SliverGridDelegate? gridDelegate, bool autoLoadMore = true, ExtendedListDelegate? extendedListDelegate, LastChildLayoutType lastChildLayoutType = LastChildLayoutType.foot, bool autoRefresh = true, int? childCount, int childCountBuilder(int count)?, int getActualIndex(int int)?})
Properties
- autoLoadMore → bool
-
final
- autoRefresh → bool
-
final
- childCount → int?
-
The total number of children this delegate can provide.
final
- childCountBuilder → (int Function(int count)?)
-
The builder to get child count,the input is sourceList.length
final
- extendedListDelegate → ExtendedListDelegate?
-
The delegate for WaterfallFlow or ExtendedList.
final
- getActualIndex → (int Function(int int)?)
-
final
- gridDelegate → SliverGridDelegate?
-
final
- hasError → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
no setter
- indicatorBuilder → LoadingMoreIndicatorBuilder?
-
final
- isLoading → bool
-
no setter
- isSliver → bool
-
no setter
- itemBuilder → Widget Function(BuildContext context, T item, int index)
-
final
- lastChildLayoutType → LastChildLayoutType
-
Layout type of last child
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceList
→ LoadingMoreBase<
T> -
final
Methods
-
buildContent(
BuildContext context, LoadingMoreBase< T> ? source) → Widget? -
buildErrorItem(
BuildContext context) → Widget? -
buildItem(
BuildContext context, int index) → Widget -
getExtendedListDelegate(
int childCount, {bool showNoMore = true}) → ExtendedListDelegate -
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