flutter_app_packager
0.6.13, released 14 days ago by leanflutter.dev
Package Flutter apps into native installers and archives for desktop platforms.
What it does
Creates OS‑specific bundles such as .dmg, .exe, .msix, .rpm, and tar.gz from a Flutter build. Supports custom packagers, pre‑ and post‑package hooks, and configurable installer options.
AI-written summary of version 0.6.13, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to distribute a Flutter app as a native installer for Windows, macOS, or Linux
- You want a single Dart/CLI tool to automate packaging in CI pipelines
Skip it when
- Your target is only mobile platforms (iOS/Android)
- You require a full installer GUI builder with advanced UI customization
Strengths
- Supports many formats (msix, dmg, rpm, tar.gz, etc.)
- Hook system for custom pre/post processing
- Configurable architectures and package metadata
Weaknesses
- Limited to desktop targets; no mobile packaging
- May rely on external tools (e.g., appimagetool, productsign)
- Documentation is minimal beyond changelog
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 10
Add the package to pubspec.yaml and run the CLI; no build_runner needed but external tools must be installed for some formats
Alternatives
Packages that do the same job and could replace flutter_app_packager.
- dmg
Create, sign, notarize, and staple macOS .DMG files with a single command.
57Compare - flutter_to_debian
CLI tool to package Flutter Linux release builds into Debian (.deb) packages
47Compare
Works with
Packages commonly used together with flutter_app_packager: ones it builds on, ones built on it, and its own family.
- archiveflutter_app_packager depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- yamlflutter_app_packager depends on itA Dart library for parsing YAML documents into Dart data structures.
- pub_semverflutter_app_packager depends on itVersions and version constraints implementing pub's versioning policy.
- ioflutter_app_packager depends on itUtilities for the Dart VM Runtime including ANSI colors, file copying, and exit code values.
- pubspec_parseflutter_app_packager depends on itParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- mustache_templateflutter_app_packager depends on itA Dart library that parses and renders Mustache templates.
- msixflutter_app_packager depends on itCLI tool that creates MSIX installers from Flutter Windows build outputs.
- liquid_engineflutter_app_packager depends on itA Dart port of the Liquid and Django HTML template engine.