How to set build and version number of Flutter app
Setting the version and build number
You can update both the version name and the version code number in the same place in pubspec.yaml. Just separate them with a +
sign. For example:
version: 2.0.0+8
This means
- The version name is
2.0.0
- The version code is
8