Repository navigation
Comparing changes
Open a pull request
base repository: flutter/packages
base: 8a35b1611d67
head repository: flutter/packages
compare: 9caa77c796c2
- 8 commits
- 243 files changed
- 6 contributors
Commits on Sep 10, 2026
-
[material_ui] Migrate M3 Card defaults to new gen_defaults (#12795)
Work towards flutter/flutter#187899 Fixes flutter/flutter#188406 ## Pre-Review Checklist
Configuration menu - View commit details
-
Copy full SHA for 2fa9692 - Browse repository at this point
Copy the full SHA 2fa9692View commit details -
[pigeon] Add FFI and JNI support to Swift and Kotlin (#11352)
This PR introduces optional Native Interop to Pigeon, enabling direct communication between Dart and native code without the overhead of traditional MethodChannel serialization. It leverages FFI (Foreign Function Interface) for Swift (iOS/macOS) and JNI (Java Native Interface) for Kotlin (Android). This represents a significant architectural shift, moving from message-based passing to direct memory sharing and function calls. It also updates the concurrency model for asynchronous methods, moving from completion handlers/callbacks to modern language features: async/await in Swift and Coroutines in Kotlin. Generators Covered Swift Generator: Updated to support FFI bindings and async/await for asynchronous methods. Kotlin Generator: Updated to support JNI bindings and Kotlin Coroutines for asynchronous methods. Dart Generator: Updated to handle the generated interop bindings on the Dart side. What's In Scope 1. Infrastructure: Added core support for useFfi and useJni options. 2. Automation: Implemented multi-step generation flows that automatically invoke jnigen and ffigen to produce final bindings. 3. Config Generation: Added jnigen_config_generator.dart and ffigen_config_generator.dart to generate the necessary configuration files for the external tools. 4. Documentation: Added a detailed native_interop_guide.md explaining prerequisites, setup, and usage. Tests: Added ni_tests.dart and associated generated files and integration tests to verify the feature. What's Out of Scope 1. Other Languages: This PR specifically targets Swift and Kotlin for the Native Interop feature. Support for Objective-C, C++, and GObject is not included in this interop implementation, and may not be in the future. 2. Performance Optimization for Complex Classes: As noted in the guide, there is a known performance regression when transferring complex classes with many fields compared to MethodChannel Pigeon. This PR delivers the functional infrastructure, but optimizing this specific case is left for follow-up work. 3. Non-instant released data. Currently all data that is sent over host or flutter api surfaces is converted to the correct shape and type for the language it is moving toward and the data created in the other language is then discarded. This presents some inefficiencies and potential workflows that are not yet available. work toward flutter/flutter#182230 design doc flutter/flutter#181430
Configuration menu - View commit details
-
Copy full SHA for cda604a - Browse repository at this point
Copy the full SHA cda604aView commit details -
[file_selector_android] Handle a null stream from openInputStream (#1…
Configuration menu - View commit details
-
Copy full SHA for a896155 - Browse repository at this point
Copy the full SHA a896155View commit details -
[in_app_purchase_storekit] Expose expiration date directly for subscr…
…iptions (#11551) Fixes a potential cause of flutter/flutter#181530 Quite a few IAP bugs seem to be surrounding stale data, so expose the expiration date directly to have to avoid doing local receipt shenanigans. ## Pre-Review Checklist
Configuration menu - View commit details
-
Copy full SHA for b8e9cf2 - Browse repository at this point
Copy the full SHA b8e9cf2View commit details -
[material_ui] Support custom date input formatters via CalendarDelega…
…te (#12608) This PR adds the `keyboardInputFormatters` method to `CalendarDelegate`. Previously, date input was strictly coupled to `MaterialLocalizations`. This change allows developers to provide a list of `TextInputFormatter`s via a custom `CalendarDelegate` to enforce specific input masks (e.g., dd/MM/yyyy) or restrict character entry in date pickers (`showDatePicker`, `showDateRangePicker`, and `InputDatePickerFormField`). Fixes flutter/flutter#83302 Fixes flutter/flutter#97134 Fixes flutter/flutter#62401 Fixes flutter/flutter#181043 Fixes flutter/flutter#115151 Fixes flutter/flutter#191639 Fixes partially flutter/flutter#150611 Port of flutter/flutter#181105 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Configuration menu - View commit details
-
Copy full SHA for c437326 - Browse repository at this point
Copy the full SHA c437326View commit details -
[material_ui] 1.2.0 sync back clean up (#12829)
The previous sync back for 1.1.1 is landed after the 1.2.0 batch release is triggered. so 1.2.0 went out as if 1.1.1 is not there, you can see the changelog of 1.2.0 swallow the change log item from 1.1.1, while the 1.1.1's section is completely missing <img width="1371" height="728" alt="image" src="https://github.com/user-attachments/assets/0278041c-1fa2-49aa-8cba-9bedd9db9c00" /> This pr cleans it up and restore the correct change log order ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Configuration menu - View commit details
-
Copy full SHA for 3f30a3e - Browse repository at this point
Copy the full SHA 3f30a3eView commit details -
[image_picker] Handle a null stream from openInputStream (#12718)
Null safety when ContentResolver cannot open a stream. Copied from closed: #12682 Fixes: flutter/flutter#191988 ## Pre-Review Checklist
Configuration menu - View commit details
-
Copy full SHA for c177dfc - Browse repository at this point
Copy the full SHA c177dfcView commit details
Commits on Sep 11, 2026
-
[pigeon] main actor async flutter api (#12729)
adds main actor annotation to async flutter api methods in swift. fixes flutter/flutter#192199
Configuration menu - View commit details
-
Copy full SHA for 9caa77c - Browse repository at this point
Copy the full SHA 9caa77cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 8a35b1611d67...9caa77c796c2