You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The formatter only formats your code, it doesn't make other syntax changes required to bring it into compliance with the style guide. For details, see here.
For example, dartfmt currently formats these statements like so:
If you're going to remove the brevity of those two lines by expanding them into four, you might as well follow the style guide which says to use braces: https://www.dartlang.org/guides/language/effective-dart/style#do-use-curly-braces-for-all-flow-control-structures
The text was updated successfully, but these errors were encountered: