PageableListView<T> constructor
const
PageableListView<T> ({
- Key? key,
- required PageableListViewController<
T> controller, - required Future<
void> onRefresh(), - Future<
void> onFetchNextPage()?, - required Widget itemBuilder(),
- List<
Widget> ? loadingWidget, - List<
Widget> ? errorWidget, - List<
Widget> ? emptyWidget, - bool shrinkWrap = false,
- bool stickToTopWidget = false,
- List<
Widget> builderbottomWidget()?, - List<
Widget> buildertopWidget()?, - Widget loadingNextPageBuilder()?,
- bool stickToBottomWidget = false,
- double stickToBottomWidgetPaddingBottom = 0,
- double stickToTopWidgetPaddingTop = 0,
- bool enabledControllerAutoDispose = false,
- bool stickToBottomLoadingNextPageBuilder = true,
- Widget widgetBuilderFirstOnGroupItem()?,
- Widget widgetBuilderLastOnGroupItem()?,
Implementation
const PageableListView({
super.key,
required this.controller,
required this.onRefresh,
this.onFetchNextPage,
required this.itemBuilder,
this.loadingWidget,
this.errorWidget,
this.emptyWidget,
this.shrinkWrap = false,
this.stickToTopWidget = false,
this.builderbottomWidget,
this.buildertopWidget,
this.loadingNextPageBuilder,
this.stickToBottomWidget = false,
this.stickToBottomWidgetPaddingBottom = 0,
this.stickToTopWidgetPaddingTop = 0,
this.enabledControllerAutoDispose = false,
this.stickToBottomLoadingNextPageBuilder = true,
this.widgetBuilderFirstOnGroupItem,
this.widgetBuilderLastOnGroupItem,
});