How do you convert an existing full-Flutter project into a Flutter module?

1,296 views
Skip to first unread message

Kellan Craddock

unread,
Jan 28, 2020, 8:41:31 PM1/28/20
to Flutter Development (flutter-dev)
Hi,

I'm attempting to create an add-to-app (add2app) project with a native iOS project and my existing Flutter project. I'd like to convert my existing Flutter project into a module so that it can be used with the add-to-app process. I've been referencing this documentation on creating new Flutter modules, however I can't seem to find any information on converting an existing Flutter project into a module.

Is there a way to convert an existing project into a module or is the expected process to copy all the files to a new module?

Best,
Kellan

Wong

unread,
Jul 6, 2020, 3:29:22 AM7/6/20
to Flutter Development (flutter-dev)

I tried this: https://stackoverflow.com/a/52952251/3003823

But after pub get, the content in .android and .ios folder is not correct, and I can not build aar successfully.
Reply all
Reply to author
Forward
0 new messages