app_new_version_check 1.0.0
app_new_version_check: ^1.0.0 copied to clipboard
A simple Flutter package to check new version available to the store, and show update popup. It simply use pubspec.yaml file to extract the current version of the app and maches wth the version availa [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_new_version_checkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
app_new_version_check: ^1.0.0Alternatively, 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:app_new_version_check/app_new_version_check.dart';