TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Running multiple Flutter applications on a single web page

3 点作者 s3arch大约 1 年前

1 comment

s3arch大约 1 年前
It is a known fact that when a Flutter application is compiled for the web, we can run only one Flutter application at a time on a page. When we try to integrate multiple Flutter apps into a page, it throws an error due to a conflict in the _flutter object name space variables.<p>Running multiple Flutter apps on a single web page is an essential component of having a micro-frontend up and running in Flutter space too. Also, we can integrate multiple smaller Flutter apps into an existing project for greater composability.<p>Here I demonstrate how we can run multiple Flutter apps on a single page without any external libraries. This is purely on a research stage and not production ready.