registerPopEntry method

void registerPopEntry(
  1. PopEntry popEntry

Registers the existence of a PopEntry in the route.

PopEntry instances registered in this way will have their PopEntry.onPopInvoked callbacks called when a route is popped or a pop is attempted. They will also be able to block pop operations with PopEntry.canPopNotifier through this route's popDisposition method.

See also:


void registerPopEntry(PopEntry popEntry) {