mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 04:18:25 +08:00
18 lines
765 B
Markdown
18 lines
765 B
Markdown
# examples folder
|
|
|
|
This folder contains a collection of more specific examples using flame, specially to showcase some more advanced functionality.
|
|
|
|
In order to simplify the understanding of each examples, they are all missing the following folders (git ignored):
|
|
|
|
```
|
|
android, ios, web, macos, test
|
|
```
|
|
|
|
So that we can focus on the `lib` and (if applicable) `assets` folder. Please add that to the gitignore of your new example.
|
|
|
|
So, to run an example after cloning, first run `flutter create .` inside the desired example folder to generate the necessary files, as per instructed by the other flutter commands.
|
|
|
|
After that, run `flutter pub get` to get all dependencies as defined in the pubspec.yml file.
|
|
|
|
Finally, you should be able to `flutter run` just fine.
|