push method

void push(
  1. Widget page
)

Implementation

void push(Widget page) {
  Navigator.of(this).push(
    MaterialPageRoute(builder: (_) => page),
  );
}