flutter_app_update 3.2.1 copy "flutter_app_update: ^3.2.1" to clipboard
flutter_app_update: ^3.2.1 copied to clipboard

A simple lightweight and customizable version update library for Flutter

Chinese Doc #

一、Introduce #

dependencies:
  flutter_app_update: ^latest_version
  • Create UpdateModel and set apk url
 UpdateModel model = UpdateModel(
   url,
   "flutterUpdate.apk",
   /// android res/mipmap icon name
   "ic_launcher",
   'https://itunes.apple.com/cn/app/xxxx',
 );
 AzhonAppUpdate.update(model).then((value) => debugPrint('$value'));
  • Add listener
@override
void initState() {
  super.initState();
  AzhonAppUpdate.listener((ResultModel model) {
    debugPrint('$model');
  });
}

三、Screenshot #

   

52
likes
160
pub points
90%
popularity

Publisher

unverified uploader

A simple lightweight and customizable version update library for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_app_update