vertical_load_more 0.0.1
vertical_load_more: ^0.0.1 copied to clipboard
This package can use for load more data inside the list and refresh or reset the data
Load More & Pull To Refresh Package #
English below
ភាសាខ្មែរ #
ងាយស្រួលប្រើ និង មានទំហំតូច សម្រាប់ការផ្ទុកទិន្នន័យជាបន្តបន្ទាប់ និង ការទាញទិន្នន័យឡើងវិញ #
ផេកខេច ដែលជួយលោកអ្នកក្នុងការផ្ទុកទិន្នន័យជាបន្តបន្ទាប់ និង ការទាញដើម្បីធ្វើឱ្យទិន្នន័យឡើងវិញ។
ប្រសិនបើអ្នកត្រូវការ ការផ្ទុកទិន្នន័យជាបន្តបន្ទាប់ ឬ ការទាញដើម្បីធ្វើឱ្យទិន្នន័យឡើងវិញ នោះលោកអ្នករកត្រូវកន្លែងហើយ
អ្នកអាចប្រើវាបានដោយ៖
dart pub add vertical_load_more
ឬ
flutter pub add vertical_load_more
កូដគំរូ #
ដើម្បីប្រើផេកខេចនេះ អ្នកត្រូវតែផ្តល់មេសូដសម្រាប់ ការផ្ទុកទិន្នន័យជាបន្តបន្ទាប់, ការទាញទិន្នន័យឡើងវិញ និងខុនត្រូឡឺជារបស់វា។
VerticalLoadMoreView(
onRefresh: () async {
....
},
onLoadMore: () async {
....
},
controller: verticalLoadMore,
child: ListView(),
);
English #
Easy to use and light-weight package for Loading Data and Pull To Refresh data. #
A package that help you to load data infinitely.
It also handles on pulling to refresh the data.
If you need a any kind of Load More or Pull To Refresh package , you are in the right place
You can use it by:
dart pub add vertical_load_more
Or
flutter pub add vertical_load_more
Sample Code #
In order to use this package, you must provide methods for loading the data, refresh data and its controller.
VerticalLoadMoreView(
onRefresh: () async {
....
},
onLoadMore: () async {
....
},
controller: verticalLoadMore,
child: ListView(),
);
MIT License
Copyright (c) 2022 SIVHONG DEAB
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.