'How to change Flutter Module's Directory

When I created a flutter module through the command "flutter create -t module..." and I forgot to use "cd.." to change the directory of the root folder, for me it is "C:\Projects" and it created the module inside my Android Project Directory, which is "C:\Projects\MyAndroidApp", How do I change the directory? and is it okay to have the flutter module inside 'MyAndroidApp' ?



Solution 1:[1]

You can simply move the project folder of the module to the intended location. This shouldn't cause much issues unless you're referencing the module on a Flutter project, which you might just need to update its path.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Omatt