expandable_list library Null safety

Classes

ExpandableAutoLayoutTrigger
Check if need rebuild ExpandableAutoLayoutWidget
ExpandableAutoLayoutWidget
Wrap header widget, when controller is set, the widget will rebuild when trigger condition matched.
ExpandableDefaultAutoLayoutTrigger
Default ExpandableAutoLayoutTrigger implementation, auto build when switch sticky header index.
ExpandableListController
Controller for listen sticky header offset and current sticky header index.
ExpandableListSection<T>
Used to provide information for each section, each section model should implement ExpandableListSection<Item Model>.
ExpandableListView
A scrollable list of widgets arranged linearly, support expand/collapse item and sticky header. all build options are set in SliverExpandableChildDelegate, this is to avoid SliverExpandableList use generics.
ExpandableSectionContainer
Section widget that contains header and content widget. You can return a custom ExpandableSectionContainer by SliverExpandableChildDelegate.sectionBuilder, but only header and content field could be changed.
ExpandableSectionContainerInfo
Section widget information.
RenderExpandableSectionContainer
Render ExpandableSectionContainer
RenderExpandableSliverList
SliverExpandableChildDelegate<T, S extends ExpandableListSection<T>>
A delegate that supplies children for SliverExpandableList using a builder callback.
SliverExpandableList
A scrollable list of widgets arranged linearly, support expand/collapse item and sticky header. all build options are set in SliverExpandableChildDelegate, this is to avoid SliverExpandableList use generics.

Typedefs

ExpandableHeaderBuilder = Widget Function(BuildContext context, int sectionIndex, int index)
ExpandableItemBuilder = Widget Function(BuildContext context, int sectionIndex, int itemIndex, int index)
ExpandableSectionBuilder = Widget Function(BuildContext context, ExpandableSectionContainerInfo containerInfo)
ExpandableSeparatorBuilder = Widget Function(BuildContext context, bool isSectionSeparator, int index)