Hello,
I have an application made in flutter at flutterApp/ and library at flutterLib/.
Now how do I import library module inside flutterApp project?
If I choose importModule from module options, It asks me some unrelated flutter question.
What is the correct way to do it?
Flutter libraries come in two forms: packages and plugins. A Flutter package is basically a Dart package and has no platform native code; it is device independent. A plugin is a package that has device-dependent code.
The easiest way to get started is to create a Flutter app then add packages and plugins to it. See
Using Packages and Developing Packages & Plugins for more info.
The question was how to have both projects inside the single intelliJ project, so that I can refactor the package while testing it in sample app without switching project windows.
There is an example here in the docs. https://flutter.dev/docs/development/packages-and-plugins/using-packages#dependencies-on-unpublished-packages
This is not the answear to the question. The question is if I have Dependencies on unpublished packages
like it is shown in the example you provide then how to import it to android studio as separate module.
Most helpful comment
The question was how to have both projects inside the single intelliJ project, so that I can refactor the package while testing it in sample app without switching project windows.