Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Design doc - Flutter style updates #180607

@loic-sharma

Description

@loic-sharma

Document Link

https://flutter.dev/go/flutter-style-updates

What problem are you solving?

Over the last year, new language features from Dart (dot shorthands) and new lints (e.g. omit_obvious_local_variable_types) have become available, the later which we planned to adopt as part of merging flutter/flutter and flutter/engine with a unified style. Now that these are available, we need to decide on how and to what degree the Flutter framework (flutter/flutter/packages/flutter) will adopt these features.

In addition to these new features in Dart, this year flutter/flutter has also begun using Gemini Code Assist to help with code review in the repository. It refers to the style guide when reviewing pull requests, and has revealed a few points that are slightly ambiguous, or no longer relevant based on having adopted dart format at the end of 2024. This can contribute to the bot making poor recommendations to contributors on pull requests, and so should be clarified in the style guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    📜Issue was posted to Discord. Remove to have the issue reannounced. (For "design doc", "emergency")P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.design docTracks a design discussion documentengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions