| OLD | NEW |
| 1 The dart_style package defines an automatic, opinionated formatter for Dart | 1 The dart_style package defines an automatic, opinionated formatter for Dart |
| 2 code. It replaces the whitespace in your program with what it deems to be the | 2 code. It replaces the whitespace in your program with what it deems to be the |
| 3 best formatting for it. Resulting code should follow the [Dart style guide][] | 3 best formatting for it. Resulting code should follow the [Dart style guide][] |
| 4 but, moreso, should look nice to most human readers, most of the time. | 4 but, moreso, should look nice to most human readers, most of the time. |
| 5 | 5 |
| 6 [dart style guide]: https://www.dartlang.org/articles/style-guide/ | 6 [dart style guide]: https://www.dartlang.org/guides/language/effective-dart/styl
e |
| 7 | 7 |
| 8 The formatter handles indentation, inline whitespace and | 8 The formatter handles indentation, inline whitespace and |
| 9 (by far the most difficult), intelligent line wrapping. | 9 (by far the most difficult), intelligent line wrapping. |
| 10 It has no problems with nested collections, function | 10 It has no problems with nested collections, function |
| 11 expressions, long argument lists, or otherwise tricky code. | 11 expressions, long argument lists, or otherwise tricky code. |
| 12 | 12 |
| 13 The formatter turns code like this: | 13 The formatter turns code like this: |
| 14 | 14 |
| 15 ``` | 15 ``` |
| 16 // BEFORE formatting | 16 // BEFORE formatting |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 ## Other resources | 116 ## Other resources |
| 117 | 117 |
| 118 * Before sending an email, see if you are asking a | 118 * Before sending an email, see if you are asking a |
| 119 [frequently asked question][faq]. | 119 [frequently asked question][faq]. |
| 120 | 120 |
| 121 * Before filing a bug, or if you want to understand how work on the | 121 * Before filing a bug, or if you want to understand how work on the |
| 122 formatter is managed, see how we [track issues][]. | 122 formatter is managed, see how we [track issues][]. |
| 123 | 123 |
| 124 [faq]: https://github.com/dart-lang/dart_style/wiki/FAQ | 124 [faq]: https://github.com/dart-lang/dart_style/wiki/FAQ |
| 125 [track issues]: https://github.com/dart-lang/dart_style/wiki/Tracking-issues | 125 [track issues]: https://github.com/dart-lang/dart_style/wiki/Tracking-issues |
| OLD | NEW |