简体   繁体   中英

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

I See this: Add different routes/screens to Flutter app

but not the same thing.

So. I have several Flutter "TEMPLATE" apps, not real code, just the views not hooked up to the backend. I am using Flutter Template A as the base with its screens. 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.

Which files needed to move "A Screen" over and add to the router?

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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM