| 40 columns | |
| >>> unsplit argument list with trailing closure |
| test('description', () {;}); |
| <<< |
| test('description', () { |
| ; |
| }); |
| >>> unsplit argument list with leading closure |
| test('description', () {;}, skip: true); |
| <<< |
| test('description', () { |
| ; |
| }, skip: true); |
| >>> unsplit indented argument list |
| /*block*/ { |
| test('description', () {;}); |
| after(); |
| } |
| <<< |
| /*block*/ { |
| test('description', () { |
| ; |
| }); |
| after(); |
| } |
| >>> unsplit multiple indented argument list |
| { |
| one(); |
| { |
| two(); |
| test('description', () {;}); |
| after(); |
| } |
| } |
| <<< |
| { |
| one(); |
| { |
| two(); |
| test('description', () { |
| ; |
| }); |
| after(); |
| } |
| } |
| >>> unsplit positional parameter list |
| f(int p1, String p2) {} |
| <<< |
| f(int p1, String p2) {} |
| >>> split positional parameter list |
| function(int parameter1, String parameter2) {} |
| <<< |
| function( |
| int parameter1, |
| String parameter2, |
| ) {} |