PageControllerExt extension
Animates the controlled PageView from the current page to the given page.
The animation lasts for the 200 ms and follows the Curves.easeOut. The returned Future resolves when the animation completes.
Methods
-
goTo(
int page, {Duration? duration, Curve? curve}) → Future< void> -
Available on PageController, provided by the PageControllerExt extension