my_generator_tool 1.0.0-dev.4
my_generator_tool: ^1.0.0-dev.4 copied to clipboard
This generator is used to generate flutter architecture code like controller, repository and model etc.
A sample command-line application with an entrypoint in bin/, library code
in lib/, and example unit test in test/.
Sometime even after packge install, command not found issue shows. Then you need to use below commands.
Run the following command to find the path where global Dart executables are installed: dart pub global list
Linux/macOS:
Add the following line to your ~/.bashrc, ~/.zshrc, or equivalent shell config file: export PATH="$PATH":"$HOME/.pub-cache/bin"
After editing the file, run:
source ~/.bashrc # Or source ~/.zshrc if you're using zsh
Windows:
Open the Start Menu and search for "Environment Variables".
Click on "Edit the system environment variables".
In the System Properties window, click on "Environment Variables".
Under "User variables", find the Path variable, select it, and click "Edit".
Add the following path (if not already there):
%USERPROFILE%\AppData\Local\Pub\Cache\bin
Click OK to save and close the windows