-
-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
null safety #549
null safety #549
Conversation
I fork your branch and complete null-safety prepare. Please, merge my work to your branch https://github.com/unger1984/flame/tree/null-safety |
3a6974a
to
449ac1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luanpotter could you please answer the questions?
@luanpotter should I target #553 to the |
So, it turns out that |
|
Until |
|
* Update README to point at rc5 * Update README.md
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Removing initialDimensions and removeGesture methods * Removing wrongly commited folder * PR suggestion
…tandard for empty constructors (flame-engine#620)
…gine#612) * Added fallback support for the web on the `SpriteBatch` API * Refactored the SpriteBatch class
…lame-engine#621) * 👌 Use `Offset` type directly in `JoystickAction.update` calculations (flame-engine#631) * Move files to src and comply with the dart package layout convention * Fixing widgets example Co-authored-by: Serge Matveenko <lig@countzero.co> Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com>
* Fix gesture detection on children * Remove unused imports * positionParent should be private * Fixed comment * Moved parent to BaseComponent * Fix formatting
* Initial implementation of the Composition class * Added decodeImageFromPixels web support
* Added a required to GameWidget and updated the docs * Removed entry from CHANGELOG
* Move out collision detection methods * Add possibility to define a hull for PositionComponents * Add example of how to use hull with tapable * Update contains point comment * Fix contains point * Hull should be based on center position * Remove collision detection parts * Added tests * Use percentage of size instead of absolute size * Separate hull from PositionComponent * Clarify hull example * Fix formatting * Override correct method * Use mixin for hitbox * Update changelog * Rename HasHitbox to Hitbox * Clarified names * Center to edge is considered as 1.0 * Fix test * Add spaces within braces * Removed extra spaces in the braces * Add hitbox docs * Fix link * Moved point rotation to Vector2 extension * Render hitbox within extension * Fix rebase * Fix rebase * Fix formatting
Updated to rc6. Going to extract |
Might not be worth doing that already, because there will be a lot of changes to that in the collision detection branch. |
It's not a lot but I would like to see that early in to avoid spreading possible nullable values in null unsafe code. |
…lame-engine#640) * Removing Util.dart and moving its remaining parts to better places * Fixing lint * Doc fixes * Doc fixes * PR suggestions
…gine#642) * Adapating ParallaxComponent constructors to other components * Removing wrongly commited folder * Update doc/components.md Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net> * Update doc/components.md Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net> Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>
🎉 |
This is a work in progress.
ordered_set
uses override to a branch in my fork until this is merged bluefireteam/ordered_set#5.As for now, nothing is done in the flame code itself.
Todo:
pubspec.yaml
filepubspec.yaml
filesmaster
with null safety backports merged in