1 min readFeb 27, 2020
The much easier and shorter solution is to use this package https://pub.dev/packages/page_transition#-installing-tab- and put this in your navigation to get the animation. Eg going from left to right — Navigator.push(context, PageTransition(type: PageTransitionType.leftToRight, child: DetailScreen()));