app_version_update_lite 4.0.2 app_version_update_lite: ^4.0.2 copied to clipboard
An easy and quick way to check if the local app is updated with the same version in their respective stores (Play Store / Apple Store ).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add app_version_update_lite
With Flutter:
$ flutter pub add app_version_update_lite
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
app_version_update_lite: ^4.0.2
Alternatively, your editor might support dart pub get
or 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_version_update_lite/app_version_update.dart';
import 'package:app_version_update_lite/core/extensions/list_extensions.dart';
import 'package:app_version_update_lite/core/functions/convert_version.dart';
import 'package:app_version_update_lite/core/functions/fetch_version.dart';
import 'package:app_version_update_lite/core/values/consts/consts.dart';
import 'package:app_version_update_lite/data/models/app_version_data.dart';
import 'package:app_version_update_lite/data/models/app_version_error.dart';
import 'package:app_version_update_lite/data/models/app_version_result.dart';