Skip to content

[web:multi-view] define an MVP for FlutterViews participation in host page layout #137444

@yjbanov

Description

@yjbanov

Currently if you embed a Flutter view onto a custom element (even in single-view case), you have to know in advance how wide and how tall it should be. However, what if the height of the view depends on the available width. In the simplest case, consider Flutter rendering a single paragraph of text. When you squeeze is horizontally the text will break into multiple lines and become taller. We should find a way to provide width (and maybe height) constratings from the host page and output the finished layout result for the host page to size itself according to what Flutter decided to do internally.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions