8000 Document the recommended way of producing multiple embedded Flutter UI / navigation states · Issue #37644 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Document the recommended way of producing multiple embedded Flutter UI / navigation states #37644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xster opened this issue Aug 5, 2019 · 14 comments · Fixed by flutter/website#5247
Assignees
Labels
a: existing-apps Integration with existing apps via the add-to-app flow c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter customer: alibaba customer: countless customer: hand customer: penguin engine flutter/engine repository. See also e: labels. P1 High-priority issues at the top of the work list

Comments

@xster
Copy link
Member
xster commented Aug 5, 2019

add-to-app cases adding Flutter as not a single contiguous navigation segment will want to preserve multiple Flutter instances' states and navigations stacks such as 2 Flutter tabs or a Flutter->native->Flutter navigation stack.

This involves first fleshing out the details of #37643 and deciding on a multi engine approach or a single engine approach.

This will likely be scheduled for 2020. Until then, using something like https://github.com/alibaba/flutter_boost (a single engine approach) seems reasonable.

@xster xster added engine flutter/engine repository. See also e: labels. a: existing-apps Integration with existing apps via the add-to-app flow labels Aug 5, 2019
@xster xster added customer: merch (g3) c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter labels Jan 7, 2020
@xster
Copy link
Member Author
xster commented Jan 8, 2020

#30701 seems like a possibly related feature as well.

@xster
Copy link
Member Author
xster commented Mar 3, 2020

Brainstorming doc go/multiple-flutters (google shared for now)

@xster
Copy link
Member Author
xster commented Mar 24, 2020

Also consider de-globalizing any states in the FVC when going through this (context #52456)

@kf6gpe kf6gpe added the P1 High-priority issues at the top of the work list label May 29, 2020
@scutlight
Copy link
Member

@xster : Hello, I'm interested in this multiple embedded flutter navigation, could you please offer more info, such as the road map, design doc, or discussions? Thanks!

@xster
Copy link
Member Author
xster commented Jun 5, 2020

It's in our plans. Aaron is doing some prototyping this week. I'll send a doc shortly. We want to make sure we capture all the scenarios flutter_boost needs to solve as well.

@xster
Copy link
Member Author
xster commented Jun 9, 2020

https://flutter.dev/go/multiple-flutters is a doc listing the constrains and requirements. Please take a look and check whether we've listed the needs correctly. The community's existing experience with this topic is highly valued.

@liyuqian
Copy link
Contributor

"customer: headline" recently mentioned that they're also very interested in this especially from the memory performance perspective.

@Hixie Hixie modified the milestones: 1.21 - July 2020, Overdue Aug 4, 2020
@xster xster removed this from the Overdue milestone Aug 11, 2020
@wanjm
Copy link
wanjm commented Sep 4, 2020

no update for a long time any updates?

@gaaclarke
Copy link
Member

I've been working on a proposal for a Flutter plugin that will encapsulate best practices for most scenarios outlined in the multiple flutters doc. It isn't published publicly yet. It's still a work in progress but you can see my design here:
Screen Shot 2020-09-08 at 10 29 53 AM

There is a working prototype here (also a work-in-progress): https://github.com/gaaclarke/host_router

@wanjm
Copy link
wanjm commented Sep 13, 2020

when will it be made public

@gaaclarke
Copy link
8000
Member

@xster
Copy link
Member Author
xster commented Dec 8, 2020

The new design doc for this that supports concurrent views is at https://flutter.dev/go/multiple-engines

@Timoteohss
Copy link

That's pretty freaking cool @xster

I do not mean to be pushy or anything, and I've seen the Release Plan on the document, but is there any chance we see this new API on stable by Q1 2021?

@github-actions
Copy link
github-actions bot commented Aug 5, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: existing-apps Integration with existing apps via the add-to-app flow c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter customer: alibaba customer: countless customer: hand customer: penguin engine flutter/engine repository. See also e: labels. P1 High-priority issues at the top of the work list
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants
0