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

Unified Diff: sky/sdk/lib/widgets/tool_bar.dart

Issue 1234963002: Start an AddressBook example (to test text fields) (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: sky/sdk/lib/widgets/tool_bar.dart
diff --git a/sky/sdk/lib/widgets/tool_bar.dart b/sky/sdk/lib/widgets/tool_bar.dart
index 542d75df55458ae32d9d83081a9c6cd30bbe7a49..3ed8bf9879ed0bceb291f83371e5df7a2ad136a1 100644
--- a/sky/sdk/lib/widgets/tool_bar.dart
+++ b/sky/sdk/lib/widgets/tool_bar.dart
@@ -47,16 +47,14 @@ class ToolBar extends Component {
if (left != null)
children.add(left);
- if (center != null) {
- children.add(
- new Flexible(
- child: new Padding(
- child: center,
- padding: new EdgeDims.only(left: 24.0)
- )
+ children.add(
+ new Flexible(
+ child: new Padding(
+ child: center,
+ padding: new EdgeDims.only(left: 24.0)
)
- );
- }
+ )
+ );
if (right != null)
children.addAll(right);
« sky/sdk/example/address_book/lib/main.dart ('K') | « sky/sdk/lib/theme/theme_data.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698