Index: sky/examples/rendering/justify_content.dart |
diff --git a/sky/examples/rendering/justify_content.dart b/sky/examples/rendering/justify_content.dart |
index f267a2f43ee550af319944436619eac35707e5ea..ef7cf3fd5c53cd5b31c1d46cc8c5299ea6c0d793 100644 |
--- a/sky/examples/rendering/justify_content.dart |
+++ b/sky/examples/rendering/justify_content.dart |
@@ -20,7 +20,7 @@ void main() { |
var table = new RenderFlex(direction: FlexDirection.vertical); |
void addRow(FlexJustifyContent justify) { |
- RenderParagraph paragraph = new RenderParagraph(text: "${justify}"); |
+ RenderParagraph paragraph = new RenderParagraph(new InlineText("${justify}")); |
table.add(new RenderPadding(child: paragraph, padding: new EdgeDims.only(top: 20.0))); |
var row = new RenderFlex(direction: FlexDirection.horizontal); |
row.add(new RenderSolidColorBox(const Color(0xFFFFCCCC), desiredSize: new Size(80.0, 60.0))); |