updat
1.4.0, released a year ago by eduardom.dev
Flutter-native updater package for application updates.
What it does
Handles application updates by checking the latest version, downloading binary updates, optionally unzipping or running installers, and providing built-in UI widgets and dialogs for desktop and mobile.
AI-written summary of version 1.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to provide in-app updates for your desktop or mobile Flutter application.
- You want customizable update UI chips and dialogs out of the box.
Skip it when
- You rely strictly on official platform app stores (like Google Play or Apple App Store) that manage updates natively.
- You do not have a server or hosting provider to serve the binary updates.
Strengths
- Provides ready-to-use update widgets and dialog themes.
- Supports unzipping archives and sending custom HTTP headers for downloads.
- Offers automatic handling via UpdatWindowManager.
Weaknesses
- Requires managing your own binary hosting and version check endpoints.
- Platform-specific update behaviors might require careful configuration depending on the target OS.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 8
Add the dependency to pubspec.yaml and place the UpdatWidget or UpdatWindowManager in your widget tree.
UpdatWidget(
currentVersion: "1.0.0",
getLatestVersion: () async => "1.0.1",
getBinaryUrl: (latestVersion) async => "https://github.com/latest/release/bin.exe",
appName: "Updat Example",
)Alternatives
Packages that do the same job and could replace updat.
- in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare - flutter_rustore_update
Flutter RuStore Update SDK.
75Compare - vpn_detector
Detects active VPN connections on Android and iOS with real-time updates.
62Compare - flutter_app_update
A simple lightweight and customizable version update library for Flutter
61Compare
Works with
Packages commonly used together with updat: ones it builds on, ones built on it, and its own family.
- archiveupdat depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- pub_semverupdat depends on itVersions and version constraints implementing pub's versioning policy.
- path_providerupdat depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- url_launcherupdat depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- universal_ioupdat depends on itCross-platform dart:io implementation with browser support for HttpClient and other APIs
- window_managerupdat depends on itFlutter desktop window resizing, moving, showing, hiding via nativeapi.