flutter_distributor 0.0.6 copy "flutter_distributor: ^0.0.6" to clipboard
flutter_distributor: ^0.0.6 copied to clipboard

outdated

Package your Flutter app into OS-specific bundles (.dmg, .exe, etc.) via Dart or the command line.

flutter_distributor #

Package your Flutter app into OS-specific bundles (.dmg, .exe, etc.) via Dart or the command line.

Discord


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. dist/1.0.0+1/hello_world-1.0.0+1-android.apk Yes
--targets Comma separated list of publisher names Yes

Example:

flutter_distributor publish --path dist/1.0.0+1/hello_world-1.0.0+1-android.apk --targets fir,pgyers

License #

MIT