A new Flutter project.
- Use Flutter channel beta (
flutter channel beta
) - Enable web config
flutter config --enable-web
- Run
flutter pub get
to install dependencies - Run code generator before running the app
flutter pub run build_runner build --delete-conflicting-outputs
- To test on web, run
flutter run -d web
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.