Iteo / theme_tailor

Code generator for Flutter's theme extension classes.
https://pub.dev/packages/theme_tailor
MIT License
79 stars 13 forks source link

`flutter pub run` instead of `flutter run` in Run the code generator from Readme.md #82

Closed gordonhch closed 1 year ago

gordonhch commented 1 year ago

I am not sure if this is the correct place to ask or put this.

After accidentally pasting flutter pub run from somewhere else I have managed to get to my code generated whereas flutter run would not go ahead nor give me a relevant error message.

ChatGPT explained that "flutter run is used to run your Flutter application, while flutter pub run is used to execute scripts or executables provided by packages in your project". I am in no way qualified to judge on that but if there's other newbies like me who got confused, this might help. Cheers