ModelListView<T>.gridSliver constructor
const
ModelListView<T>.gridSliver ({
- Key? key,
- required List<
T> list, - required Future<
void> load(), - required bool loadedAll,
- required ModelListViewBuilder<
T> builder, - required ScrollController? scrollController,
- double treshold = 400,
- bool doNotLoadOnInit = false,
- String? error,
- Widget errorBuilder(
- BuildContext context,
- String error
- Widget? loadingWidget,
- Widget? noResultsWidget,
- Widget? bottomLoader,
- Widget? firstChild,
Implementation
const ModelListView.gridSliver({
Key? key,
required this.list, required this.load, required this.loadedAll, required this.builder,
required this.scrollController, this.treshold = 400,
this.doNotLoadOnInit = false,
this.error,
this.errorBuilder, this.loadingWidget, this.noResultsWidget, this.bottomLoader ,
this.firstChild
}) :
refresh = null,
_sliver = true,
_grid = true,
reverse = false,
super(key: key);