Index: sky/examples/widgets/styled_text.dart |
diff --git a/sky/examples/widgets/styled_text.dart b/sky/examples/widgets/styled_text.dart |
index 2f5e6f3a0c9c11de0579fd3fb4fef2d55f60476c..3c9b15ab8ae7df33800bbcdcead843f6282ad977 100644 |
--- a/sky/examples/widgets/styled_text.dart |
+++ b/sky/examples/widgets/styled_text.dart |
@@ -63,7 +63,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.'''; |
Component createSeparator() { |
return new Container( |
- constraints: const BoxConstraints(minWidth: double.INFINITY, maxHeight: 0.0), |
+ constraints: const BoxConstraints.expandWidth(maxHeight: 0.0), |
margin: const EdgeDims.symmetric(vertical: 10.0, horizontal: 64.0), |
decoration: const BoxDecoration( |
border: const Border( |