isCurrent property
bool
get
isCurrent
Returns true if this route is the current active route.
Implementation
bool get isCurrent => ModalRoute.of(this)?.isCurrent ?? false;
Returns true if this route is the current active route.
bool get isCurrent => ModalRoute.of(this)?.isCurrent ?? false;