diff --git a/examples/flutter_gallery/lib/demo/contacts_demo.dart b/examples/flutter_gallery/lib/demo/contacts_demo.dart index 4f96879862..0a45d35327 100644 --- a/examples/flutter_gallery/lib/demo/contacts_demo.dart +++ b/examples/flutter_gallery/lib/demo/contacts_demo.dart @@ -20,18 +20,22 @@ class _ContactCategory extends StatelessWidget { ), child: new DefaultTextStyle( style: Theme.of(context).textTheme.subhead, - child: new Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - new Container( - padding: const EdgeInsets.symmetric(vertical: 24.0), - width: 72.0, - child: new Icon(icon, color: themeData.primaryColor) - ), - new Expanded(child: new Column(children: children)) - ] - ) - ) + child: new SafeArea( + top: false, + bottom: false, + child: new Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + new Container( + padding: const EdgeInsets.symmetric(vertical: 24.0), + width: 72.0, + child: new Icon(icon, color: themeData.primaryColor) + ), + new Expanded(child: new Column(children: children)) + ], + ), + ), + ), ); } }