hayderux / electron-flutter

A minimal electron application with flutter & dart
MIT License
118 stars 20 forks source link
dart electron flutter

electron-quick-start-flutter

A minimal Electron application with flutter & dart

Screenshot

To Use

# Clone this repository
git clone https://github.com/hayderux/electron-flutter
# Go into the repository
cd electron-flutter
#install flutter dependencies
flutter pub get
# Install dependencies
npm install
# Run the app
npm run dev

Release

To build for production, first run npm run build.

The output directory, build contains a package.json pointing to the built application, and can be run as follows:

cd build
npm install
npm start

Package

The output directory's package manifest, build/package.json, includes electron-packager, and therefore can be packaged for distribution on Windows, MacOS, and Linux.

to build for the host platform run:

npm run build

To build for all platforms, run :

npm run package