Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: test/regression/0400/0478.stmt

Issue 1591463002: Indent functions in named argument lists with non-functions. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/argument_list_visitor.dart ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 >>> (indent 10)
2 statusBarWidgets.add(new Flexible(
3 flex: 0,
4 child: new GestureDetector(onTap: () {
5 setState(() {
6 game.takeTrickUI();
7 });
8 },
9 child: new Container(
10 decoration: style.Box.liveBackground,
11 padding: style.Spacing.smallPadding,
12 child: new Text("Take Cards",
13 style: style.Text.largeStyle)))));
14 <<<
15 statusBarWidgets.add(new Flexible(
16 flex: 0,
17 child: new GestureDetector(
18 onTap: () {
19 setState(() {
20 game.takeTrickUI();
21 });
22 },
23 child: new Container(
24 decoration: style.Box.liveBackground,
25 padding: style.Spacing.smallPadding,
26 child: new Text("Take Cards",
27 style: style.Text.largeStyle)))));
28 >>> (indent 8)
29 statusBarWidgets
30 .add(new IconButton(icon: "action/swap_vert", onPressed: () {
31 setState(() {
32 _showSplitView = !_showSplitView;
33 });
34 }));
35 <<<
36 statusBarWidgets.add(new IconButton(
37 icon: "action/swap_vert",
38 onPressed: () {
39 setState(() {
40 _showSplitView = !_showSplitView;
41 });
42 }));
OLDNEW
« no previous file with comments | « lib/src/argument_list_visitor.dart ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698