Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Jul 27, 2017

...and break the navigator<->routes circular dependency.

This is a step towards fixing #9577 but doesn't yet do so.

@Hixie
Copy link
Contributor Author

Hixie commented Jul 27, 2017

cc @HansMuller for review

...and break the navigator<->routes circular dependency.

This is a step towards fixing flutter#9577 but doesn't yet do so.
///
/// If [Route.willPop] returns [pop] then the back button will actually pop
/// the current route.
pop,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per our conversation, this isn't new code, it's just been relocated. We need to decide/document what it means to pop the last route.

///
/// If [Route.willPop] return [bubble] then the back button will be handled
/// by the [SystemNavigator], which will usually close the application.
bubble,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to clarify what this means if there are nested navigators. I would think that we'd want bubble to mean: defer to the parent navigator or the SystemNavigator if there's no parent.

@HansMuller
Copy link
Contributor

LGTM

@Hixie Hixie merged commit 58a28a2 into flutter:master Jul 28, 2017
@Hixie Hixie deleted the willpop branch July 28, 2017 22:10
Hixie added a commit that referenced this pull request Jul 31, 2017
Hixie added a commit that referenced this pull request Aug 1, 2017
* Revert "Make plugins add their repos to projects in the consuming app (#11447)"

This reverts commit abe1e25.

* Revert "Support for custom build types on Android (#11354)"

This reverts commit 87eec71.

* Revert "add a profile() method (#11443)"

This reverts commit 561d17a.

* Revert "Fix documentation based on dartdoc's warnings (#11428)"

This reverts commit 6655074.

* Revert "Improve some docs around WillPopScope. (#11429)"

This reverts commit 58a28a2.

* Revert "temporarily disable broken driver test in integration_ui (#11440)"

This reverts commit 764515e.

* Revert "style fix"

This reverts commit 00bfc86.

* Revert "tests for waitFor/waitForAbsent"

This reverts commit 31d2ee9.

* Revert "Always evaluate the finder in `driver.waitFor()` and `driver.waitForAbsent()`"

This reverts commit 11d7c79.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants