alphabet_index_listview 1.0.36 copy "alphabet_index_listview: ^1.0.36" to clipboard
alphabet_index_listview: ^1.0.36 copied to clipboard

a a-z indexed listview ,based on CustomScrollView and ListView, also provide a stick header listview.

///Your list ,maybe a string list.

List

///generated AlphabetIndexGroup list, return your data string which used to get the fist letter tag.

List

///build your list view.

return AlphabetIndexListView(
stickHeader: true,
dataList: _groupContactList,
//sideBarAlphabet: kDefaultAlphabets,
groupBuilder: (String tag, int groupIndex) {
return _buildHeaderItem(tag);
},
childBuilder: (MemberModel data, int groupIndex, int childIndex) {
return _buildListsItem(data);
},
padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
);

GIF

4
likes
155
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

a a-z indexed listview ,based on CustomScrollView and ListView, also provide a stick header listview.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, lpinyin

More

Packages that depend on alphabet_index_listview