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';
97
likes
35
pub points
89%
popularity

Publisher

verified publisherfluttercommunity.dev

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, package_info

More

Packages that depend on get_version