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