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

Unified Diff: sky/sdk/lib/framework/components2/drawer_header.dart

Issue 1181533002: Rename BlockContainer, StackContainer, and FlexContainer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/framework/components2/drawer_header.dart
diff --git a/sky/sdk/lib/framework/components2/drawer_header.dart b/sky/sdk/lib/framework/components2/drawer_header.dart
index 8560cd5d49a114b6e5734596be98547774903d4c..652596d559c7899e91ba8985d87370d4ced242df 100644
--- a/sky/sdk/lib/framework/components2/drawer_header.dart
+++ b/sky/sdk/lib/framework/components2/drawer_header.dart
@@ -14,7 +14,6 @@ class DrawerHeader extends Component {
UINode build() {
return new Container(
- key: 'drawer-header-outside',
height: kStatusBarHeight + kMaterialDrawerHeight,
decoration: new BoxDecoration(
backgroundColor: BlueGrey[50],
@@ -27,20 +26,14 @@ class DrawerHeader extends Component {
),
padding: const EdgeDims.only(bottom: 7.0),
margin: const EdgeDims.only(bottom: 8.0),
- child: new FlexContainer(
- key: 'drawer-header-inside',
- direction: FlexDirection.vertical,
- children: [
- new FlexExpandingChild(new Container(key: 'drawer-header-spacer')),
- new Container(
- key: 'drawer-header-label',
- padding: const EdgeDims.symmetric(horizontal: 16.0),
- child: new FlexContainer(
- direction: FlexDirection.horizontal,
- children: children
- )
- )
- ]
+ child: new Flex([
+ new FlexExpandingChild(new Container(key: 'drawer-header-spacer')),
+ new Container(
+ key: 'drawer-header-label',
+ padding: const EdgeDims.symmetric(horizontal: 16.0),
+ child: new Flex(children, direction: FlexDirection.horizontal)
+ )],
+ direction: FlexDirection.vertical
)
);
}
« no previous file with comments | « sky/sdk/lib/framework/components2/drawer.dart ('k') | sky/sdk/lib/framework/components2/fixed_height_scrollable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698