appupgrade 0.1.1 appupgrade: ^0.1.1 copied to clipboard
appupgrade - Flutter App Upgrade Package. 一个Flutter应用检查更新及应用升级的插件包,参考:flutter_app_upgrade , 本插件Android使用Java编写,iOS使用OC编写。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add appupgrade
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
appupgrade: ^0.1.1
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:appupgrade/appupgrade.dart';