sectioned_list_view 0.0.1 sectioned_list_view: ^0.0.1 copied to clipboard
Sectioned list view with a similar API to the iOS UITableView
sectioned_list_view #
The sectioned_list_view
package adds a simple sectioned list view to the flutter framework.
It's API is similar to the UITableView available on the iOS platform.
Usage #
You should specify a number of sections and a number of items for each section.
For each section, you should provide an headerBuilder
function.
Finally, you should also provide an itemBuilder
function, executed for each item.
SectionListView(
numberOfSection: () => this.numberOfSection(),
numberOfRowsInSection: (int section) =>
this.numberOfRowsInSection(section),
headerBuilder: (BuildContext context, int section) =>
this.headerBuilder(context, section),
itemBuilder:
(BuildContext context, int section, int index) =>
this.itemBuilder(context, section, index))