buildNumber property

String buildNumber
final

The build number. Generated from the version in pubspec.yaml.

  • CFBundleVersion on iOS and macOs.
  • versionCode on Android.
  • build_number from version.json on Web and Linux.
  • ProductVersion from the compiled executable file on Windows.

Note, on iOS if an app has no buildNumber specified this property will return version Docs about CFBundleVersion: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion

Implementation

final String buildNumber;