zhahao / List_view_item_builder
Licence: mit
Flutter package: Item builder for ListView,to quickly build header & item & footer,and provide jumpTo(index) function.
Stars: ✭ 31
Programming Languages
dart
5743 projects
Projects that are alternatives of or similar to List view item builder
Inview notifier list
A Flutter package that builds a list view and notifies when the widgets are on screen.
Stars: ✭ 269 (+767.74%)
Mutual labels: package, listview
Flutter Ui Nice
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it.
Stars: ✭ 3,092 (+9874.19%)
Mutual labels: package, listview
Atom Korean Spell Daum
Daum 맞춤법 검사기로 텍스트를 보내 손쉽게 교정 가능한 Atom package
Stars: ✭ 24 (-22.58%)
Mutual labels: package
Westwind.htmlpackager
A small utility class used to package HTML content into a self contained HTML document both as a single file, or a folder with all dependencies copied to local.
Stars: ✭ 27 (-12.9%)
Mutual labels: package
Tidymv
Tidy Model Visualisation for Generalised Additive Models
Stars: ✭ 25 (-19.35%)
Mutual labels: package
Atom Annotations
Atom package that shows annotations (e.g. for overriden methods interface implementations) in your PHP source code.
Stars: ✭ 14 (-54.84%)
Mutual labels: package
Bili
Bili makes it easier to bundle JavaScript libraries.
Stars: ✭ 949 (+2961.29%)
Mutual labels: package
React Natives App
App for the React & React Native developer community as a demo project for the React Native meetups in Germany
Stars: ✭ 20 (-35.48%)
Mutual labels: listview
Atom Modular Snippets
:atom: A modular solution to snippets in @Atom.
Stars: ✭ 8 (-74.19%)
Mutual labels: package
Unitycopylightingsettings
Unity editor extension to copy&paste lighting settings from one scene to another.
Stars: ✭ 25 (-19.35%)
Mutual labels: package
Sro
Friendly Correios SRO API wrapper and command-line utility
Stars: ✭ 7 (-77.42%)
Mutual labels: package
Clusterize.js
Tiny vanilla JS plugin to display large data sets easily
Stars: ✭ 6,995 (+22464.52%)
Mutual labels: listview
list_view_item_builder
Item builder for ListView,to quickly build header & item & footer,and provide jumpTo function.
Usage
- Create an instance of the ListViewItemBuilder.
- Set the values of itemBuilder and itemCount of _itemBuilder to the ListView.
ScrollController _scrollController = ScrollController();
_itemBuilder = ListViewItemBuilder(
// If you want use [jumpTo] or [animateTo], need set scrollController.
scrollController:_scrollController,
rowCountBuilder: (section) => 10,
itemsBuilder: (BuildContext context, int section, int index) {
return Container(
height: 44,
child: Text('item:${section.toString()}+${index.toString()}'),
);
},
);
ListView.builder(
itemBuilder: _itemBuilder.itemBuilder,
itemCount: _itemBuilder.itemCount,
controller: _scrollController,
);
// jumpTo:
_itemBuilder.jumpTo(int section, int index, {ListViewItemPosition position = ListViewItemPosition.top})
// animateTo:
_itemBuilder.animateTo(int section, int index,
{@required Duration duration,
@required Curve curve,
ListViewItemPosition position = ListViewItemPosition.top})
Functions
- [x] Support header,sectionHeader,item,sectionFooter,footer,loadingMore builder for listView.
- [x] Support listView jumpTo and animateTo functions by section and index for scroll to position.
- [x] Support vertical and horizontal scroll direction.
Screenshot
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].