popAndPushWidget<T extends Object?> method
Future<T?>
popAndPushWidget<T extends Object?>(
- Widget routeWidget, {
- T? result,
- Map<
String, dynamic> ? arguments, - PageParameter? pageParameter,
Implementation
Future<T?> popAndPushWidget<T extends Object?>(Widget routeWidget,
{T? result,
Map<String, dynamic>? arguments,
PageParameter? pageParameter}) {
pop<T>(result);
return push<T>(routeWidget,
arguments: arguments, pageParameter: pageParameter);
}