list_load_more 1.0.1 list_load_more: ^1.0.1 copied to clipboard
A lazy loading ListView easy to implementation, easy to customize with your own loading animation and support some feature like add, remove single item and focus to item
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add list_load_more
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
list_load_more: ^1.0.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:list_load_more/components/container_loading.dart';
import 'package:list_load_more/components/empty_widget.dart';
import 'package:list_load_more/components/error_widget.dart';
import 'package:list_load_more/components/list_shimmer_widget.dart';
import 'package:list_load_more/components/loading_more_widget.dart';
import 'package:list_load_more/components/shimmer_shape.dart';
import 'package:list_load_more/list_load_more/list_load_more.dart';
import 'package:list_load_more/utils/ext/iterable_ext.dart';