简体   繁体   English

如何:将 flutter 屏幕从一个 flutter 应用程序添加到另一个应用程序?

[英]How To: Add flutter screen from one flutter app to another?

I See this: Add different routes/screens to Flutter app我看到了: 向 Flutter 应用程序添加不同的路线/屏幕

but not the same thing.但不是一回事。

So.所以。 I have several Flutter "TEMPLATE" apps, not real code, just the views not hooked up to the backend.我有几个 Flutter“模板”应用程序,不是真正的代码,只是视图没有连接到后端。 I am using Flutter Template A as the base with its screens.我使用 Flutter 模板 A 作为其屏幕的基础。 Now I want to grab some Screens from Flutter Template B and Add/Import them into Flutter Template A Again, I want to grab some Screens from Flutter Template C and Add/Import them into Flutter Template A Now I want to grab some Screens from Flutter Template B and Add/Import them into Flutter Template A Again, I want to grab some Screens from Flutter Template C and Add/Import them into Flutter Template A

I am new to Flutter - but have over 35 development experiences in a broad range of languages.我是 Flutter 的新手——但我拥有超过 35 种语言的开发经验。

Which files needed to move "A Screen" over and add to the router?哪些文件需要移动“A Screen”并添加到路由器?

If anyone has done this, please help.如果有人这样做过,请帮忙。

It needs what it needs.它需要它需要的东西。 There are view, model, and controller classes, perhaps all in one file, or spread out across multiple directories.有视图,model 和 controller 类,可能都在一个文件中,或者分布在多个目录中。 So many ways of doing it that your question is unanswerable without looking at the code.这样做的方法太多了,如果不看代码,你的问题就无法回答。 If you got these "templates" from a vendor, hopefully the vendor documented some of that.如果您从供应商处获得这些“模板”,希望供应商记录其中的一些内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将数据从一个 flutter 应用程序发送到另一个 flutter 应用程序 - How to send data from one flutter app to another flutter app 如何在FLutter中使用pushNamed将数据从一个屏幕传递到另一个屏幕? - how to pass data from one screen to another screen with pushNamed in FLutter? 是否可以从另一个 flutter 应用程序打开 flutter 应用程序的特定屏幕? - Is it possible to open particular screen of flutter app from another flutter app? 将一个 Flutter 应用添加到另一个现有的 Flutter 应用 - Add one flutter app to another existing flutter app 如何在不按动颤动的情况下从一个屏幕导航到另一个屏幕? - How to navigate from one screen to another without onpressed in flutter? 如何将图像变量从一个屏幕发送回另一个屏幕 - Flutter - How to send back an image variable from one screen to another - Flutter "将图像从一个屏幕传递到另一个屏幕 - Flutter" - Passing image from one screen to another - Flutter 如何将原生 android 屏幕添加到 flutter 应用程序? - How to add native android screen to flutter app? 如何在 Flutter 中将列表视图中的项目从一个类添加到另一个类? - How to add item in a listview from one class to another in Flutter? 将数据从一个屏幕发送到另一屏幕抖动 - send data from one screen to another screen flutter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM