Download and set the project
Run the project locally
Clone the project from: project repo.
WARNING
Do not install Flutter to a directory or path that meets any of the following conditions:
The path contains special characters or spaces.
The path requires elevated privileges.
As an example,
C:\Program Files\
,~/dev/我的專案/
fails the condition(s) listed above.Open the project with your IDE.
Run the following command to get project's dependency packages:bashflutter pub get
Run the following command to generate additional dart code:
bashflutter packages pub run build_runner build
WARNING
If you modified the file that will generate additional dart code, you will encounter conflict when running
flutter packages pub run build_runner build
.
Select1. Delete
to replace the old generated file(s);
Or just run the following command-line, always replace the old file with the new generated one:flutter packages pub run build_runner build --delete-conflicting-outputs
Run the process.
TIP
Flutter offers a fast development cycle with Stateful Hot Reload, the ability to reload the code of a live running app without restarting or losing app state.
For for info about Hot Reload: Official Document.