diff --git a/examples/flutter_gallery/lib/demo/flexible_space_demo.dart b/examples/flutter_gallery/lib/demo/flexible_space_demo.dart index 0eeaaa502c..b2b7d49fc4 100644 --- a/examples/flutter_gallery/lib/demo/flexible_space_demo.dart +++ b/examples/flutter_gallery/lib/demo/flexible_space_demo.dart @@ -47,9 +47,11 @@ class _ContactItem extends StatelessWidget { columnChildren.add(new Text(lines.last, style: Theme.of(context).textTheme.caption)); List rowChildren = [ - new Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: columnChildren + new Flexible( + child: new Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: columnChildren + ) ) ]; if (icon != null) {