isCurrentActive property
bool
isCurrentActive
Util getter for whether screen is current active
Implementation
bool get isCurrentActive => ModalRoute.of(context)?.isCurrent ?? false;
Util getter for whether screen is current active
bool get isCurrentActive => ModalRoute.of(context)?.isCurrent ?? false;