in_app_version_control 0.0.3
in_app_version_control: ^0.0.3 copied to clipboard
A Flutter/Dart package to check remote app-version rules (optional update, forced update, maintenance) and enforce update behavior in-app.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate in_app_version_controlUse it
The package has the following executables:
$ iavc
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add in_app_version_controlThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
in_app_version_control: ^0.0.3Alternatively, 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:in_app_version_control/in_app_version_control.dart';