OLD | NEW |
(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 })); |
OLD | NEW |