FLUTTER ECOSYSTEM

azhon/flutter_app_update

Uma biblioteca simples, leve e personalizável de atualização de versão Android para Flutter

Capa do projeto flutter_app_update
Stars
54
Forks
19
Último push (UTC)
14 de jul. de 2026
Status do projeto
Ativo
Code Porter GitHub avatar
GITHUB User

Code Porter ↗

JiangXi,ChinaSite oficial ↗
LinguagensDartKotlinObjective-CRubySwift

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • flutter_lintsDesenvolvimento^2.0.0

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README
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

https://raw.githubusercontent.com/azhon/FlutterAppUpdate/main/example/img/en/img1.jpg https://raw.githubusercontent.com/azhon/FlutterAppUpdate/main/example/img/en/img2.jpg https://raw.githubusercontent.com/azhon/FlutterAppUpdate/main/example/img/en/img3.jpg https://raw.githubusercontent.com/azhon/FlutterAppUpdate/main/example/img/en/img4.jpg