popsAndPush static method

void popsAndPush(
  1. BuildContext context,
  2. Widget page
)

Implementation

static void popsAndPush(BuildContext context, Widget page) {
  pops(context);
  push(context, page);
}