check_version 0.0.7 check_version: ^0.0.7 copied to clipboard
Check Android/iOs store version and provide update alert if update is available on stores.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add check_version
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
check_version: ^0.0.7
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:check_version/check_version.dart';