|Mon Oct 30 09:34:11 2023 -0700
|Mon Oct 30 16:34:11 2023 +0000
[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.
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.
These are the packages hosted in this repository: