popUntilAndPushWidget<T extends Object?> method
Future<T?>
popUntilAndPushWidget<T extends Object?>(
- PagePredicate predicate,
- Widget routeWidget, {
- Map<
String, dynamic> ? arguments, - PageParameter? pageParameter,
Implementation
Future<T?> popUntilAndPushWidget<T extends Object?>(
PagePredicate predicate, Widget routeWidget,
{Map<String, dynamic>? arguments, PageParameter? pageParameter}) {
_popUntil(predicate);
return push<T>(routeWidget, pageParameter: pageParameter);
}