flutter build web command arguments
133
You should check official documentation for the flutter build web command. You can see it with
flutter build web --help
Also you can check this open issue
https://github.com/flutter/flutter/issues/75909
Author by
MuharremCetin
Updated on December 19, 2022Comments
-
MuharremCetin over 1 year
I want to change the version number when building my Flutter project to web platform. flutter build web --build-name=2.0.0 --build-number=2 I tried the above command but Could not find an option named "build-name". I got the error. Do you have any idea ?
-
MuharremCetin over 2 yearsYes Carlos, thank you for your interest. I've looked at this document before, but I couldn't find a code that worked for me. flutter build web --build-name=1.0.2 --build-number=5 --no-sound-null-safety Do I need to add a code or make any changes for it to be active on the web? Because it seems to work for IOS and APK.
-
Carlos Sandoval over 2 yearsYou didn't find any code because that feature is not implemented in the current Flutter version, it is still an open issue and it seems that flutter team are going to implement that in some future version.