infinite_grouped_list 1.2.2
infinite_grouped_list: ^1.2.2 copied to clipboard
Dynamic scrolling list in Flutter, efficiently grouping items and seamlessly loading more data as user scrolls
1.2.2 ✨ New Features #
- Adds missing
Key
1.2.1 ✨ New Features #
- Adds
remove(ItemType)
method to the controller. You can now programmatically remove items from the list.
1.2.0 💥 Breaking changes #
- Tweaks
initialItemsErrorWidget
&loadMoreItemsErrorWidget
parameters. They are now function that returns aWidget
, exposing the error aswell :
initialItemsErrorWidget: (error) => GestureDetector(
child: Text(
error.toString(),
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 15,
fontWeight: FontWeight.w500,
decoration: TextDecoration.underline,
decorationColor: Colors.blue,
color: Colors.blue,
),
),
),
loadMoreItemsErrorWidget: (error) => GestureDetector(
child: Text(
error.toString(),
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 15,
fontWeight: FontWeight.w500,
decoration: TextDecoration.underline,
decorationColor: Colors.blue,
color: Colors.blue,
),
),
),
- Adds
physics
parameter. Defaults to [AlwaysScrollablePhysics]
1.1.2 #
- Initializes
getItems
with default empty List to avoidLateInitializationError
- Internal code refactoring
1.1.1 #
- Internal code refactoring
1.1.0 ✨ New Features - Simplifies & Improves API #
- Adds new builder
InfiniteGroupedList.gridView
. Define yourgridDelegate
and customise it as you want.

- Fields made optional:
seperatorBuilder
sortGroupBy
- Removes the
padding
that was not removed on previous version.
1.0.1 🐛 Bug fixes & API improvements #
- Removes
padding
parameter as it does not correspond to anything - Adds
isPaged
parameter. If theonLoadMore
is not paged, everytime the same items will be added to the list when the list reaches at the bottom. Therefore, we should set theisPaged
tofalse
and after the initial fetch it will stop fetching the items. It defaults totrue
- Checks if
mounted
before setting state
1.0.0 🎉 Initial release #
- Initial release