flutter_infinite_scroll 0.0.1 copy "flutter_infinite_scroll: ^0.0.1" to clipboard
flutter_infinite_scroll: ^0.0.1 copied to clipboard

Opinionated package to lazily load and display small chunks of items as the user scrolls down the screen

flutter_infinite_scroll #

Intended for personal use in my projects but feel free to use also.

Opinionated package to lazily load and display small chunks of items as the user scrolls down the screen

Getting Started #

Install package with: flutter pub add flutter_infinite_scroll

Default options #

InfiniteScrollPage( loadMoreEnabled: false, perPage: 10, debounceMaxPeriod: 5000, // milliseconds, }, );

Usage #

  • Data endpoint must return a single array like following [ { id: 1, title: 'data title', description: 'data description', avatarPath: 'avatar path' (optional) }, ... ... ]

  • Endpoint is Post fixed with ?page=0 to help server side determine the next page e.g: https://example.com?page=1

1
likes
120
pub points
14%
popularity

Publisher

unverified uploader

Opinionated package to lazily load and display small chunks of items as the user scrolls down the screen

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc_test, dio, equatable, firebase_auth, flutter, flutter_bloc, mockito, sealed_unions

More

Packages that depend on flutter_infinite_scroll