blob: c740708b7472f37fd5c4b96f77bb3dc190073e67 [file] [log] [blame]
>>> (indent 10)
statusBarWidgets.add(new Flexible(
flex: 0,
child: new GestureDetector(onTap: () {
setState(() {
game.takeTrickUI();
});
},
child: new Container(
decoration: style.Box.liveBackground,
padding: style.Spacing.smallPadding,
child: new Text("Take Cards",
style: style.Text.largeStyle)))));
<<<
statusBarWidgets.add(new Flexible(
flex: 0,
child: new GestureDetector(
onTap: () {
setState(() {
game.takeTrickUI();
});
},
child: new Container(
decoration: style.Box.liveBackground,
padding: style.Spacing.smallPadding,
child: new Text("Take Cards",
style: style.Text.largeStyle)))));
>>> (indent 8)
statusBarWidgets
.add(new IconButton(icon: "action/swap_vert", onPressed: () {
setState(() {
_showSplitView = !_showSplitView;
});
}));
<<<
statusBarWidgets.add(new IconButton(
icon: "action/swap_vert",
onPressed: () {
setState(() {
_showSplitView = !_showSplitView;
});
}));