advanced_grouped_list library
This library brings support for a list view in which the items can be grouped together in different sections.
This library is based on the package scrollable_positioned_list
which
brings the ability to programatically scroll through the list.
To use this library in your code:
import 'package:advanced_grouped_list/advanced_grouped_list.dart';
Classes
-
AdvancedGroupedListView<
T, E> -
A groupable list of widgets similar to
ScrollablePositionedList
, except that the items can be sectioned into groups. -
AdvancedGroupedListViewState<
T, E> - State class for AdvancedGroupedListView.
- GroupedItemScrollController
- Controller to jump or scroll to a particular element in the list.
- ItemPosition
- Position information for an item in the list.
- ItemPositionsListener
- Provides a listenable iterable of itemPositions of items that are on screen and their locations.
- ScrollOffsetController
- Controller to scroll a certain number of pixels relative to the current scroll offset.
- ScrollOffsetListener
- Provides an affordance for listening to scroll offset changes.
Enums
- AdvancedGroupedListOrder
-
Used to define the order of a
StickyGroupedListView
. Defines the order in which items are grouped in aStickyGroupedListView
.
Extensions
- ItemPositionsListenerExt on ItemPositionsListener
- Extension to get the topmost visible item index or ItemPosition from ItemPositionsListener.