get_version 0.2.2 copy "get_version: ^0.2.2" to clipboard
get_version: ^0.2.2 copied to clipboard

discontinuedreplaced by: device_info_plus

Get the Version Name, Version Code, Platform and OS Version, and App ID on iOS and Android.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add get_version

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

dependencies:
  get_version: ^0.2.2

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:get_version/get_version.dart';
96
likes
35
points
211
downloads

Publisher

verified publisherfluttercommunity.dev

Weekly Downloads

Get the Version Name, Version Code, Platform and OS Version, and App ID on iOS and Android.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, package_info

More

Packages that depend on get_version