paginate_firestore_plus 1.0.1+2 paginate_firestore_plus: ^1.0.1+2 copied to clipboard
A flutter package to simplify pagination with firestore data.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add paginate_firestore_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
paginate_firestore_plus: ^1.0.1+2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:paginate_firestore_plus/bloc/pagination_cubit.dart';
import 'package:paginate_firestore_plus/bloc/pagination_listeners.dart';
import 'package:paginate_firestore_plus/bloc/pagination_state.dart';
import 'package:paginate_firestore_plus/paginate_firestore.dart';
import 'package:paginate_firestore_plus/widgets/bottom_loader.dart';
import 'package:paginate_firestore_plus/widgets/empty_display.dart';
import 'package:paginate_firestore_plus/widgets/empty_separator.dart';
import 'package:paginate_firestore_plus/widgets/error_display.dart';
import 'package:paginate_firestore_plus/widgets/initial_loader.dart';