Tags: flutter/packages
Tags
[google_maps_flutter] Migrate iOS heatmaps to Pigeon (#10754) Replaces the legacy JSON serialization of heatmaps with fully typed Pigeon data. Updates the min Flutter SDK version to 3.35 (stable N-1) because there's an analysis difference between 3.32 and 3.35 in some of the new Dart code, and it's easier to just drop 3.32 now than to add a suppression and then clean it up later. Final iOS portion of flutter/flutter#117907 ## Pre-Review Checklist [^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.
[google_fonts] Add missing public API documentation (#10782) Also replace `print` with `debugPrint`
[google_fonts] Update the font generator to exclude variable font ent… …ries when a static entry of the same weight and style exists (#10739) #10713 accidentally introduced duplicate variable fonts for 400 weight fonts, an issue only discovered through https://pub.dev/packages/google_fonts/score, because this repo's analysis options exclude generated files. Using 7.0.0 would cause the variable font variant to be used for 400 weight, a non-issue, apart from the typically larger font size. With this PR: - Updated the font generator to exclude variable font entries when a static entry of the same weight and style exists, keeping variable fonts only if no static equivalent is present. - Updated font proto and regenerated Dart parts. - Renamed generated files from .g.dart to .dart for google_fonts_all_parts and all font part files. Updated generator, template, and main library to use the new file extensions, and added some missing public API documentation. - Prepares for future explicit variable font support and improves font selection consistency. Fixes flutter/flutter#180634 Related to flutter/flutter#174575 and flutter/flutter#174567 ## 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.
[camera_android_camerax] get camera name from Camera2CameraInfo.getCa… …meraId in availableCameras (#10775) Resolves flutter/flutter#147545 ## 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.
[video_player_avfoundation] Fix deprecated tracksWithMediaType usage (#… …10553) fixes [Issue #173092](flutter/flutter#173092) ## Pre-Review Checklist ## Description - Fixes the deprecated `tracksWithMediaType:` API usage that causes compilation warnings on iOS 18/macOS 15. ## Changes - Migrated to `loadTracksWithMediaType:completionHandler:` for iOS 15.0+/macOS 12.0+ - Added backward compatibility for iOS 13.0-14.x and macOS 10.15-11.x using pragma directives
Fix html in webview_flutter doc comment (#10634) This adds 10 points to the score on pub. https://pub.dev/packages/webview_flutter/score
[mustache_template] Improve error throwing (#10700) Addresses error handling issues flagged in the Gemini review of mustache_template. Changes: - Added missing `throw` before [_error()](cci:1://file:///C:/Users/Guto_/packages-pr/third_party/packages/mustache_template/lib/src/lambda_context.dart:27:2-34:3) calls in [lambda_context.dart](cci:7://file:///C:/Users/Guto_/packages-pr/third_party/packages/mustache_template/lib/src/lambda_context.dart:0:0-0:0) - Changed `Exception` to `StateError` for unreachable code in [parser.dart](cci:7://file:///C:/Users/Guto_/packages-pr/third_party/packages/mustache_template/lib/src/parser.dart:0:0-0:0) Fixes flutter/flutter#174938 ## 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.
[camera_web] Fixed crashing bug on camera_web 0.3.5 for Safari (#10595) On certain browsers (Safari), getting `facingMode` on video track capabilities is not supported. The code first checks if `facingMode` is available on `MediaTrackSettings` using `facingModeNullable` but when the code checks for facingMode on `MediaTrackCapabilities`, it uses the non nullable `facingMode` getter instead of `facingModeNullable`. This causes a crash and the camera isn't initialized correctly. This is a blocker for reliably deploying camera_web 0.3.5 which enables people to use WASM with camera functionality. Fixes flutter/flutter#155210 ## Testing Tested on Safari on Mac and iPhone with camera initialization - camera now successfully initializes where it previously failed. ## 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.
[google_maps_flutter] Add iOS SDK 10.x support (#10720) Adds support for Google Maps SDK 10.x. The new ios16/ example is just a copy of ios15/ with the min deployment version changed. Previously I had intended to do this as part of adding SPM support, but separating them allows landing this sooner, and will reduce the complexity of the SPM addition. Fixes flutter/flutter#180272 ## 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.
Update Google Fonts to v7.0.0 with new and removed fonts (#10713) `dart generator/generator.dart` adds support for numerous new fonts and removed several deprecated or replaced fonts. This corresponds to directory 11, generated in December 2025.
PreviousNext