flutter_stream_paging 1.0.23 flutter_stream_paging: ^1.0.23 copied to clipboard
Support paging using stream & datasource
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_stream_paging
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_stream_paging: ^1.0.23
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:flutter_stream_paging/core/core.dart';
import 'package:flutter_stream_paging/core/paging_state.dart';
import 'package:flutter_stream_paging/core/paging_state.freezed.dart';
import 'package:flutter_stream_paging/data_source/data_source.dart';
import 'package:flutter_stream_paging/fl_stream_paging.dart';
import 'package:flutter_stream_paging/gen/gen.dart';
import 'package:flutter_stream_paging/model/model.dart';
import 'package:flutter_stream_paging/model/paging_status.dart';
import 'package:flutter_stream_paging/ui/base_widget.dart';
import 'package:flutter_stream_paging/ui/paging_grid_view.dart';
import 'package:flutter_stream_paging/ui/paging_list_view.dart';
import 'package:flutter_stream_paging/ui/paging_silver_builder.dart';
import 'package:flutter_stream_paging/ui/ui.dart';
import 'package:flutter_stream_paging/ui/widgets/empty_widget.dart';
import 'package:flutter_stream_paging/ui/widgets/footer_tile.dart';
import 'package:flutter_stream_paging/ui/widgets/load_more_widget.dart';
import 'package:flutter_stream_paging/ui/widgets/new_page_progress_indicator.dart';
import 'package:flutter_stream_paging/ui/widgets/paging_default_error_widget.dart';
import 'package:flutter_stream_paging/ui/widgets/paging_default_loading.dart';
import 'package:flutter_stream_paging/ui/widgets/widgets.dart';
import 'package:flutter_stream_paging/utils/appended_sliver_child_builder_delegate.dart';
import 'package:flutter_stream_paging/utils/paged_child_builder_delegate.dart';
import 'package:flutter_stream_paging/utils/utils.dart';