canPop method

  1. @override
bool canPop()
override

The initial route cannot be popped off the navigator, which implies that this function returns true only if popping the navigator would not remove the initial route.

Modular.to.canPop();

Implementation

@override
bool canPop() => navigator.canPop();