popAndPush static method
void
popAndPush(
- BuildContext context,
- Widget page, {
- PageTransition? transition,
- Duration? duration,
Implementation
static void popAndPush(BuildContext context, Widget page, {PageTransition? transition, Duration? duration}){
_pushWithTransition(context, page, transition: transition, duration: duration, replace: true);
}