push method

void push(
  1. Layer<T> layer
)

Push a new Layer onto the top of the stack.

Implementation

void push(Layer<T> layer) {
  layer._bindUi(this);
  layer.start();
  _layers.add(layer);
  dirty();
}