on_upgrade 1.2.0 on_upgrade: ^1.2.0 copied to clipboard
Local upgrade checker plugin. Provides the ability to compare the currently running app version against a saved one.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add on_upgrade
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
on_upgrade: ^1.2.0
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:on_upgrade/on_upgrade.dart';