Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 433 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 433 Bytes

example

A new Flutter project.

Run Web

flutter run --release --dart-define=FLUTTER_WEB_USE_SKIA=true -d chrome

Build Web

flutter build web --dart-define=FLUTTER_WEB_USE_SKIA=true --release
  • Build Flutter web app to Github Pages to the docs folder
flutter build web --web-renderer html --base-href /flash/ --release && rm -rf ../docs && mkdir ../docs && cp -a ./build/web/. ../docs/