-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
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.