finishedWhenPopped property Null safety

bool finishedWhenPopped

Controls whether didPop calls NavigatorState.finalizeRoute.

If true, this route removes its overlay entries during didPop. Subclasses can override this getter if they want to delay finalization (for example to animate the route's exit before removing it from the overlay).

Subclasses that return false from finishedWhenPopped are responsible for calling NavigatorState.finalizeRoute themselves.

Implementation

@protected
bool get finishedWhenPopped => true;