v0.6.0load_items
Laden Sie weitere Elemente, wenn Sie am unteren Rand eines ListView oder GridView scrollen.
6Likes 2230-Tage-Downloads150Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
Neue Elemente laden, wenn man zum unteren Rand eines ListView oder GridView scrollt
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
Load new items into either a list or a grid as you scroll down.
ListView or GridViewItemsLoaderListView and GridViewloadScrollFactorListenableListenableLoadItems<Item>(
type: LoadItemsType.grid,
itemBuilder: (context, Item item, int index) {
return ListTile(title: item.title);
},
itemsLoader: (List<Item> currentItems) {
return await Api.fetch({skip: currentItems.length});
},
gridCrossAxisCount: 3,
)
See example for full list and grid example.
Abhängigkeiten 3 Einträge
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗