tree: 1cb3afe50e448abd63cae4561265f9e7d3eefe0a [path history] [tgz]
  1. android/
  2. example/
  3. ios/
  4. lib/
  5. .gitignore
  6. CHANGELOG.md
  7. LICENSE
  8. package_info.iml
  9. package_info_android.iml
  10. pubspec.yaml
  11. README.md
packages/package_info/README.md

package_info

This Flutter plugin provides an API for querying information about an application package.

Usage

You can use the PackageInfo class to query information about the application package. This works both on iOS and Android.

var version = await PackageInfo.getVersion();
var buildNumber = await PackageInfo.getBuildNumber();

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.