flutterflow_paginate_firestore 1.0.3+1 flutterflow_paginate_firestore: ^1.0.3+1 copied to clipboard
A flutter package for FlutterFlow to simplify pagination with firestore data.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutterflow_paginate_firestore
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutterflow_paginate_firestore: ^1.0.3+1
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:flutterflow_paginate_firestore/bloc/pagination_cubit.dart';
import 'package:flutterflow_paginate_firestore/bloc/pagination_listeners.dart';
import 'package:flutterflow_paginate_firestore/bloc/pagination_state.dart';
import 'package:flutterflow_paginate_firestore/paginate_firestore.dart';
import 'package:flutterflow_paginate_firestore/widgets/bottom_loader.dart';
import 'package:flutterflow_paginate_firestore/widgets/empty_display.dart';
import 'package:flutterflow_paginate_firestore/widgets/empty_separator.dart';
import 'package:flutterflow_paginate_firestore/widgets/error_display.dart';
import 'package:flutterflow_paginate_firestore/widgets/initial_loader.dart';