push static method

void push(
  1. BuildContext context,
  2. Widget page, {
  3. Widget? current,
})

Implementation

static void push(BuildContext context, Widget page, {Widget? current}) {
  Navigator.push(context, _getPT(current: current, page: page));
}