mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
always_specify_types. (#52859)" (flutter/engine#52867)
Reverts: flutter/engine#52859 Initiated by: zanderso Reason for reverting: This sort of change *is* in scope for a discussion at the Dash forum. Original PR Author: matanlurey Reviewed By: {cbracken, gaaclarke, johnmccutchan} This change reverts the following previous change: Based on the (internal) discussion around converging on using the official Dart style guide, with the exception of the code that gets published under `dart:ui`, as that is user-facing, and we'd like to evolve the code style in conjunction with the framework. I also took the opportunity to specify more about our style guide use in general, mostly to make it easier to understand our conventions, and also call out known problem areas (notably, our over-use of `shared_ptr` and `auto` in some cases). I am happy to split those up, but it was easier to make the markdown changes at once. I also took @cbracken and folks advice and clarified directly that explicit types in Dart are _not_ bad (with examples).
Reverts "Revamp the engine style guide, remove
always_specify_types. (#52859)" (flutter/engine#52867)
Description
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
androidapp-frameworkcross-platformdartdart-platformdesktopflutterflutter-packagefuchsiaioslinux-desktopmacosmaterial-designmobilemobile-developmentskiawebweb-frameworkwindows
2.5 GiB
Languages
Dart
75%
C++
16.5%
Objective-C++
2.9%
Java
2.8%
Objective-C
0.7%
Other
1.9%