How to add an flutter module (converted into aar) into an existing flutter app?
I understand that we can import the flutter module into a native android app by following the example in prebuilt_module. Is it possible to import an existing flutter module to a flutter app and invoke the flutter module from the app?
I tried setting it up but when I try to invoke the flutter module from the flutter app, the same flutter app instance gets triggered.
The example project and module can be cloned from this repo: [https://github.com/Deepak-GP/flutter-module-import.git]
I know that flutter module can also be imported into the flutter app by directly placing the flutter module path in the pubspec. The reason why I don't want to import the flutter module as a pubspec dependency is that I want import it the flutter module as a separate binary.
Thanks
Update on the above issue: When I try to build the project in android studio, I get this error: Type io.flutter.plugins.GeneratedPluginRegistrant is defined multiple times
This question is better suited to Stack Overflow. Issues here are supposed to be about the samples. Thanks!