Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

How to get result after pop #263

@ebelevics

Description

@ebelevics

I started to migrate Navigator 1.0 to this package, but I stumbled with this issue. In 1.0 you get Future<T?> after pushed screen is poped with onPressed: () async {final results = await Navigator.pushNamed(. How do you achieve this with GoRouter?

Future<T?> pushNamed<T extends Object?>(
  BuildContext context,
  String routeName, {
  Object? arguments,
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions