load_items library
Classes
-
LoadItems<
T> -
Builds either a
ListView
orGridView
based on the givenLoadItemsType
, wrapped in aRefreshIndicator
, aScrollbar
and aStack
.
Enums
- LoadItemsType
-
An enum to specify to use a
ListView
orGridView
Typedefs
-
ItemBuilder<
T> = Widget Function(BuildContext context, T item, int i) -
A typedef function definition used to built a
Widget
per itemT
-
ItemsLoader<
T> = Future< List< Function(List<T> >T> currentItems) - A typedef function definition used to load new items
- WidgetBuilder = Widget Function()
- A typedef function definition for building widgets