onPush method

  1. @override
void onPush()
override

Called after the page is pushed onto the router.

Implementation

@override
void onPush() {
  super.onPush();
  layer.saveSnapshot();
  layer.suspendBackdropForTransition();
  layer.confirmTick.subscribe(_onConfirm).disposeBy(this);
}