flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.8k stars 3.21k forks source link

[flutter web] document multi-view #10773

Closed kevmoo closed 2 months ago

kevmoo commented 3 months ago

Page URL

https://docs.flutter.dev/deployment/web/

Page source

https://github.com/flutter/website/tree/main/src/content/deployment/web.md

Describe the problem

Per this (now closed) issue https://github.com/flutter/flutter/issues/118481

Flutter web supports multi-view. Need to document it.

Expected fix

Document how to embed multiple Flutter web views on one page

Additional context

No response

I would like to fix this problem.

yjbanov commented 3 months ago

I think when documenting this feature we should not refer to it as "multi-view". The feature is more like "embedding Flutter apps and widgets into HTML pages" (or maybe into "other web frameworks"). When all is said and done this feature will look so obvious that we'll be musing how in early days we "didn't even support multiple views" (then cheer 🍻 for good old days). So instead, we should just update whatever "embedding" docs we already have to talk about CRUD-ing views and placing them onto web pages.

ditman commented 3 months ago

/cc @sfshaza2 this is the tracking issue for the multiview changes that you were asking for in... another issue that I can't find anymore 😓

sfshaza2 commented 3 months ago

Are you planning to add this documentation, @ditman?

ditman commented 2 months ago

@sfshaza2 Yes!

ditman commented 2 months ago

Posted the PR for this: https://github.com/flutter/website/pull/10977