PageControllerExtension extension
An extension for PageController.
Methods
-
defaultAnimateTo(
double offset, {Curve curve = _kPageAnimationCurve, Duration duration = _kPageAnimationDuration}) → Future< void> - Animates the position from its current value to the given value, with two optional animation settings.
-
defaultAnimateToPage(
int page, {Curve curve = _kPageAnimationCurve, Duration duration = _kPageAnimationDuration}) → Future< void> - Animates the controlled PageView from the current page to the given page.