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) |