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

Unified Diff: sky/framework/components/scaffold.dart

Issue 1007893005: Clean up stock_app.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « sky/framework/components/menu_item.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/scaffold.dart
diff --git a/sky/framework/components/scaffold.dart b/sky/framework/components/scaffold.dart
index 60de2fb6850491748d0b8431cf0cec09d2e805a1..bc55d7e4da9bf82a8ecef3e5f3a927e3b94fff21 100644
--- a/sky/framework/components/scaffold.dart
+++ b/sky/framework/components/scaffold.dart
@@ -33,7 +33,7 @@ class Scaffold extends Component {
bottom: 0;
right: 0;''');
- ActionBar actionBar;
+ Node header;
Node content;
FloatingActionButton fab;
Drawer drawer;
@@ -41,7 +41,7 @@ class Scaffold extends Component {
Scaffold({
Object key,
- this.actionBar,
+ this.header,
this.content,
this.fab,
this.drawer,
@@ -49,15 +49,11 @@ class Scaffold extends Component {
}) : super(key: key);
Node build() {
- var children = [
+ List<Node> children = [
new Container(
key: 'Main',
style: _mainStyle,
- children: [
- actionBar,
- new StyleNode(content, _contentStyle)
- ]
- ),
+ children: [header, new StyleNode(content, _contentStyle)])
];
if (fab != null)
« no previous file with comments | « sky/framework/components/menu_item.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698