datalist 0.0.1-dev.4

Flutter Android iOS web

Implementation DataList in Flutter

SurfGear

datalist limit-offset #

The main entity - OffsetDataList - a list for paginated data through the limit / offset mechanism Has methods:   1. merge (DataList data), which allows you to combine 2 data blocks. The input should be only OffsetDataList   2. int nextOffset - returns the offset for the trace of the data block   3. bool canGetMore - indicates whether more data can be loaded   1. #transform () - to convert data in a list

It can combine two subsequent blocks, and in reverse order.

DataList page-count #

The main entity - PageCountDataList - a list of paginated data through the page / count mechanism Has methods:   1. merge (DataList data), which allows you to combine 2 data blocks. Input should be only PageCount DataList   2. int getNextPage () - returns the number of the trace of the data block   3. bool canGetMore - indicates whether more data can be loaded   1. #transform () - to convert data in a list

It can combine two subsequent blocks, and in reverse order.

1
likes
90
pub points
0%
popularity

Publisher

surf.ru

Implementation DataList in Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

collection, flutter, http, pedantic, surf_lint_rules

More

Packages that depend on datalist