canClose method Null safety
override
Can close the current location.
Should return true if the current location is not the initial.
Implementation
@override
bool canClose() => _pages.length > 1;
Can close the current location.
Should return true if the current location is not the initial.
@override
bool canClose() => _pages.length > 1;