push method

void push(
  1. Screen<T> screen
)

Pushes screen onto the top of the stack.

Implementation

void push(Screen<T> screen) {
  screen._bind(this);
  _screens.add(screen);
  _render();
}