PaginatedListView<T, Q> constructor
const
PaginatedListView<T, Q> ({
- Key? key,
- required PaginatedSearchControllerProvider<
T, Q> paginatedController, - required WidgetFromItemBuilder<
T> itemBuilder, - WidgetBuilder? loadingBuilder,
- PaginationErrorBuilder? errorBuilder,
- WidgetBuilder? emptyBuilder,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- double? cacheExtent,
- int? semanticChildCount,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- String? restorationId,
- Clip clipBehavior = Clip.hardEdge,
Implementation
const PaginatedListView({
super.key,
required super.paginatedController,
required super.itemBuilder,
super.loadingBuilder,
super.errorBuilder,
super.emptyBuilder,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.controller,
this.primary,
this.physics,
this.shrinkWrap = false,
this.cacheExtent,
this.semanticChildCount,
this.dragStartBehavior = DragStartBehavior.start,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
this.restorationId,
this.clipBehavior = Clip.hardEdge,
});