PageViewExtension extension

on

Properties

isLastPage bool

Available on BuildContext, provided by the PageViewExtension extension

Whether the parent PageView is at the last page.
no setter
pageController PageController

Available on BuildContext, provided by the PageViewExtension extension

The PageController of the parent PageView.
no setter

Methods

nextPage({Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease}) Future<void>

Available on BuildContext, provided by the PageViewExtension extension

Animates the parent PageView to the next page.
previousPage({Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease}) Future<void>

Available on BuildContext, provided by the PageViewExtension extension

Animates the parent PageView to the previous page.
toPage(int page, {Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.ease}) Future<void>

Available on BuildContext, provided by the PageViewExtension extension

Animates the parent PageView from the current page to the given page.