OLD | NEW |
1 40 columns | | 1 40 columns | |
2 >>> force newline before directives | 2 >>> force newline before directives |
3 @deprecated library foo; | 3 @deprecated library foo; |
4 | 4 |
5 @deprecated import 'dart:io'; | 5 @deprecated import 'dart:io'; |
6 | 6 |
7 @deprecated export 'dart:io'; | 7 @deprecated export 'dart:io'; |
8 <<< | 8 <<< |
9 @deprecated | 9 @deprecated |
10 library foo; | 10 library foo; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 <<< | 218 <<< |
219 withReturnType( | 219 withReturnType( |
220 @foo @bar int fn(@foo param)) {} | 220 @foo @bar int fn(@foo param)) {} |
221 withoutReturnType( | 221 withoutReturnType( |
222 @foo @bar fn(@foo param)) {} | 222 @foo @bar fn(@foo param)) {} |
223 >>> metadata on default formal parameter | 223 >>> metadata on default formal parameter |
224 positional([@foo bar]) {} | 224 positional([@foo bar]) {} |
225 named({@foo bar}) {} | 225 named({@foo bar}) {} |
226 <<< | 226 <<< |
227 positional([@foo bar]) {} | 227 positional([@foo bar]) {} |
228 named({@foo bar}) {} | 228 named({@foo bar}) {} |
| 229 >>> split between metadata and parameter indents |
| 230 function(@VeryLongMetadataAnnotation longParameter) {} |
| 231 <<< |
| 232 function( |
| 233 @VeryLongMetadataAnnotation |
| 234 longParameter) {} |
OLD | NEW |