commit | 7319d3a7b15d9b36b334e7c5aef1d9974f7f183b | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Mon Oct 30 09:34:11 2023 -0700 |
committer | GitHub <noreply@github.com> | Mon Oct 30 16:34:11 2023 +0000 |
tree | 98ad52c0f5bdeeb6f730ee022d0be18ceb54c6fa | |
parent | 35b15de176a94e59d1a14d83cb0a5d4d495d478d [diff] |
[pigeon] Don't wrap non-nullable primitives in Obj-C (#5214) Updates the Objective-C generator to use `BOOL`, `NSInteger`, and `double` for non-nullable versions of those primitives, instead of boxing them with `NSNumber*`. This makes the code more idiomatic, brings them into alignment with enum behavior, and importantly helps minimize the chances of clients having issues with silent conversion of `NSNumber*` to `BOOL` in the long term (although it may cause some such issues in the short term when people update; the changelog contains a prominent warning about this). As an incidental fix, this also fixes the use of `strong` for collections and strings, which is not best practice, since I was already changing related code. Fixes https://github.com/flutter/flutter/issues/116680 Fixes https://github.com/flutter/flutter/issues/127401
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: