From b5e0b7c99ad1b2639ad9705ee57a4189bdb2d193 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 7 Aug 2015 10:37:04 -0700 Subject: [PATCH] Unbreak text Previously, no text was appearing because we weren't actually converting the Dart objects into DOM. --- packages/flutter/lib/rendering/paragraph.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flutter/lib/rendering/paragraph.dart b/packages/flutter/lib/rendering/paragraph.dart index 5f86be6f87..ac64d59f6c 100644 --- a/packages/flutter/lib/rendering/paragraph.dart +++ b/packages/flutter/lib/rendering/paragraph.dart @@ -102,8 +102,9 @@ double _applyFloatingPointHack(double layoutValue) { class RenderParagraph extends RenderBox { - RenderParagraph(this._inline) { + RenderParagraph(RenderInline inline) { _layoutRoot.rootElement = _document.createElement('p'); + this.inline = inline; } final sky.Document _document = new sky.Document();