flatlist_scroll 0.0.2 copy "flatlist_scroll: ^0.0.2" to clipboard
flatlist_scroll: ^0.0.2 copied to clipboard

Scroll pagination fetch data from API return number next page and render widget put in listview.

Flatlist Scroll #


Flatlist Scroll is library help user scroll fetch data from API with return next number page. - Scroll paginate return next page number - Build item widget in listview - Load more data when user scroll to bottom - Catch error if response null from API

Screenshot #

Usage #

    // Widget fetch data list
    FlatlistScroll(
        // Controller scroll in list
        controller: ScrollController(),
        // Data input in list
        data: data,
        // Return page number start from 1
        onLoadMore: fetchData,
        // Render Widget item in list
        renderItem: (item) => _buildItem(item),
        // Height pixel bottom of list when load more data.
        onLoadMoreThreshold: 300,
      )

អ្នកបង្កើត #


លោក ហ៊ិន រដ្ឋា
ជំនាញ បង្កើតកម្មវិធីទូរស័ព្ទ
បទពិសោធន៍ Flutter, ReactNative, Laravel
ទូរស័ព្ទ 096 659 2250 📞

គេហទំព័រ #

Ratha Dev

1
likes
130
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

Scroll pagination fetch data from API return number next page and render widget put in listview.

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on flatlist_scroll