در terminal که کد برا نصب کد
dart pub global activate flutter_gen
میزنم خطای زیر رو میده
pub global activate flutter_gen
Package flutter_gen is currently active at version 5.2.0.
Resolving dependencies...
The package flutter_gen is already activated at newest available version.
To recompile executables, first run `dart pub global deactivate flutter_gen`.
Installed executable fluttergen.
Warning: Pub installs executables into C:\\Users\\Internet Naiyeri\\AppData\\Local\\Pub\\Cache\\bin, which is not on your path.
You can fix that by adding that directory to your system's "Path" environment variable.
A web search for "configure windows path" will show you how.
Activated flutter_gen 5.2.0.
ممنون میشم راهنمایی کنید