preload_page_view 0.2.0 preload_page_view: ^0.2.0 copied to clipboard
A pre-load PageView widget which you can use it to preload one page before and after current page.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add preload_page_view
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
preload_page_view: ^0.2.0
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:preload_page_view/preload_page_view.dart';