looping_page_view 0.1.0
looping_page_view: ^0.1.0 copied to clipboard
A Flutter PageView that loops: swipe past the last page to reach the first, and back. Its controller reports real item indexes, so page indicators work.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add looping_page_viewThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
looping_page_view: ^0.1.0Alternatively, 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:looping_page_view/looping_page_view.dart';