Files
Lukas Klingsbo 692213d5a4 Properly propagate onMount and onRemove to children (#579)
* Fix rendering of children

* Game loop handles other restore

* Properly propagate onMount and onRemove to children

* Use BaseGame on gestures to minimize confusion

* Fix linting

* All children don't need preparation

* Add composability example

* gameRef might not be defined

* Add mustCallSuper

* isMounted on game

* Remove unused gameRef argument

* Made isMounted only modifiable by the component

* Move dartdoc to public isMounted

* Fix formatting
2020-12-21 12:42:45 +01:00
..
2020-12-09 10:10:12 +00:00
2020-12-09 10:10:12 +00:00
2020-12-09 10:10:12 +00:00
2020-12-09 10:10:12 +00:00
2020-12-09 10:10:12 +00:00
2020-12-09 10:10:12 +00:00
2020-12-09 10:10:12 +00:00
2020-12-12 15:42:42 -03:00
2020-12-12 15:17:40 -03:00
2020-12-11 11:45:23 -03:00
2020-12-09 10:10:12 +00:00
2020-12-12 15:17:40 -03:00
2020-12-09 10:10:12 +00:00
2020-08-06 16:59:12 +01:00

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.