OLD | NEW |
1 40 columns | | 1 40 columns | |
2 >>> long parameters list, this.field | 2 >>> long parameters list, this.field |
3 class Foo { | 3 class Foo { |
4 Foo(this.first, this.second, this.third, this.fourth); | 4 Foo(this.first, this.second, this.third, this.fourth); |
5 } | 5 } |
6 <<< | 6 <<< |
7 class Foo { | 7 class Foo { |
8 Foo(this.first, this.second, | 8 Foo(this.first, this.second, |
9 this.third, this.fourth); | 9 this.third, this.fourth); |
10 } | 10 } |
| 11 >>> indent parameters more if body is a wrapped => |
| 12 method(int firstArgument, int argumentTwo) => "very long body that must wrap"; |
| 13 <<< |
| 14 method(int firstArgument, |
| 15 int argumentTwo) => |
| 16 "very long body that must wrap"; |
OLD | NEW |