A sample Flutter Web Application for listing movie genres from the assets folder.
You can check further examples on flutter_web.
- Before you start open your terminal and run the command below.
flutter upgrade
- If you haven't yet, add your Dart SDK to your PATH.
<path to our flutter directory>/bin/cache/dart-sdk/bin
- Go inside the project with your terminal and run the commands below.
flutter packages pub global activate webdev
flutter packages upgrade
- Finally add webdev to your PATH.
<path to flutter directory>/.pub-cache/bin
- You can finally run the project.
webdev serve
You will be able to reach it through localhost:8080
.