canPop property
Whether this route can be popped.
When this changes, the route will rebuild, and any widgets that used ModalRoute.of will be notified.
Implementation
bool get canPop => !isFirst || willHandlePopInternally;
Whether this route can be popped.
When this changes, the route will rebuild, and any widgets that used ModalRoute.of will be notified.
bool get canPop => !isFirst || willHandlePopInternally;