Skip to content

chore: bump minimum Dart SDK to 3.10.0 / Flutter to 3.38.0 - #18634

Draft
russellwheatley wants to merge 3 commits into
mainfrom
chore/bump-min-dart-sdk-3-10-0
Draft

chore: bump minimum Dart SDK to 3.10.0 / Flutter to 3.38.0#18634
russellwheatley wants to merge 3 commits into
mainfrom
chore/bump-min-dart-sdk-3-10-0

Conversation

@russellwheatley

@russellwheatley russellwheatley commented Sep 1, 2026

Copy link
Copy Markdown
Member

Bumps the workspace's minimum SDK constraint from 3.6.0 to 3.10.0 (Flutter 3.38.0), across the root pubspec.yaml and all package/example pubspecs.

3.10.0 matches 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 switches dart_style to 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, pure dart format packages tests output.

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).
@gemini-code-assist

Copy link
Copy Markdown
Contributor
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant