Flutter 3.3 added support for setting the Windows app’s version from
pubspec.yaml file or through the
build arguments. For more information, refer to the
Build and release a Windows app documentation.
Projects created before Flutter version 3.3 need to be migrated to support versioning.
Your project can be updated using these steps:
- Verify you are on Flutter version 3.3 or newer using
- If needed, use
flutter upgradeto update to the latest version of the Flutter SDK
- Backup your project, possibly using git or some other version control system
- Delete the
flutter create --platforms=windows .
- Review the changes to your
- Verify your app builds using
flutter build windows