paginated_live_list 0.1.0 copy "paginated_live_list: ^0.1.0" to clipboard
paginated_live_list: ^0.1.0 copied to clipboard

outdated

A Paginated Live List Widget

A paginated live list widget that handles pagination, subscriptions to updates, updating pages, and error handling.

Getting Started #

The package provide a widget called PaginatedLiveList that takes a concrete PaginationController and display a paginated live list.

For usage example see the example directory.

Implementing a PaginationController #

You need to implement Page comparison with PaginationController.compareTo, PageCursor adjustment with PaginationController.adjustCursor, and loading of new pages with PaginationController.onLoadPage.

PageCursor adjustment is needed when a page changes it's cursor due to an update. The adjustment allows the PaginationController to maintain the current pages by not having to reload all the pages after the page that changed it's cursor.

See the example for an implementation of a PaginationController

2
likes
60
points
14
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Paginated Live List Widget

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

collection, flutter

More

Packages that depend on paginated_live_list