The PageController
of a PageView
has a function animateToPage
which allows to define the curve effect during page swipe.
Future<void> animateToPage(
int page, {
@required Duration duration,
@required Curve curve,
})
I need to match it's behavior with that of the default swipe transition of PageView.
Any help?