flutter_distributor 0.0.9
flutter_distributor: ^0.0.9 copied to clipboard
Package your Flutter app into OS-specific bundles (.dmg, .exe, etc.) via Dart or the command line.
flutter_distributor #
A complete tool for packaging and publishing your Flutter applications.
Quick Start #
Installation #
dart pub global activate flutter_distributor
⚠️ Linux requirements
7z
Run the following command
sudo apt-get install p7zip-full
⚠️ macOS requirements
7z
,appdmg
Run the following command
brew install p7zip
npm install -g appdmg
⚠️ Windows requirements
CLI #
Package
Will package your application into a platform specific format and put the result in a folder.
Flag | Value | Required | Description |
---|---|---|---|
--platform |
Platform, e.g. android |
Yes | |
--targets |
Comma separated list of maker names | Yes |
Example:
flutter_distributor package --platform=android --targets=aab,apk
Publish
Flag | Value | Required | Description |
---|---|---|---|
--path |
Path, e.g. hello_world-1.0.0+1-android.apk |
Yes | |
--targets |
Comma separated list of publisher names | Yes |
Example:
flutter_distributor publish --path hello_world-1.0.0+1-android.apk --targets fir,pgyer
Release
Will according to the configuration file (distribute_options.yaml), package your application into a specific format and publish it to the distribution platform.
Flag | Value | Required | Description |
---|---|---|---|
--name |
Name, e.g. dev |
Yes |
Example:
flutter_distributor release --name dev
License #
MIT