canPop property

bool get canPop

Route.isFirst, which returns true for routes for which canPop returns false.

Implementation

bool get canPop => Navigator.canPop(this);