NavigatorInheritanceServiceExt extension

on

Methods

canPop() bool

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Check if there is at least one active route to pop
maybePop<T>([T? result]) Future<bool>

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Pop the top-most route if possible
pop<T extends Object?>([T? result]) → void

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Pop the current route with animation
popUntil(RoutePredicate predicate) → void

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Pops routes until the given predicate returns true
push<T>(String path, {Map<String, dynamic>? extra}) Future<T?>

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Push a new route onto the navigator stack with animation
pushAndRemoveUntil(String path, RoutePredicate predicate, {Map<String, dynamic>? extra}) → void

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Push a new route and remove routes until the given predicate returns true
pushReplacement(String path, {Map<String, dynamic>? extra}) → void

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Replace the current route with a new one with push animation
replace(String path, {Map<String, dynamic>? extra}) → void

Available on PageService, provided by the NavigatorInheritanceServiceExt extension

Replace the current route with a new one without animation