chore: bump minimum Dart SDK to 3.10.0 / Flutter to 3.38.0 - #18634
chore: bump minimum Dart SDK to 3.10.0 / Flutter to 3.38.0#18634russellwheatley wants to merge 3 commits into
Conversation
Matches the current floor used by Flutter's own federated plugins (image_picker, url_launcher, shared_preferences, etc.) in flutter/packages. Not tied to the upcoming breaking-change release, SDK floor bumps have historically shipped here as plain chores (see 6afbd43).
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. |
…sion Raising the SDK floor to 3.10.0 bumps the effective language version for every package, which switches `dart format` to dart_style's newer "tall style" rules (cascades, chained calls, constructor initializer lists). No logic changes, output of `dart format packages tests`.
CI runs Flutter stable (bundling a newer dart_style than the one used locally for the previous formatting pass), which flagged 21 more files.
Bumps the workspace's minimum SDK constraint from
3.6.0to3.10.0(Flutter3.38.0), across the rootpubspec.yamland all package/example pubspecs.3.10.0matches the current floor used by Flutter's own federated plugins in flutter/packages (image_picker,url_launcher,shared_preferences, etc, see flutter/packages#11741). Flutter's own repo treats these bumps as routine, non-breaking releases, not tied to a major version, and this repo has the same precedent (6afbd43).Not related to the breaking-change release, this can ship independently.
Includes a second commit reformatting 623 files with
dart format: raising the floor past 3.6 switchesdart_styleto its newer "tall style" rules (cascades, chained calls, constructor initializer lists), so a lot of existing code reads as unformatted under the new language version. No logic changes, puredart format packages testsoutput.