package_info 0.5.0-nullsafety copy "package_info: ^0.5.0-nullsafety" to clipboard
package_info: ^0.5.0-nullsafety copied to clipboard

discontinuedreplaced by: package_info_plus
outdated

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add package_info
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  package_info: ^0.5.0-nullsafety
copied to clipboard

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:package_info/package_info.dart';
copied to clipboard
927
likes
0
points
117k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

2024.08.19 - 2025.03.03

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on package_info