From 8ab0cdcea345866e16a9f767e1eea3e2a79b9cf8 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 29 Sep 2016 17:42:19 -0700 Subject: [PATCH] Fix ParagraphStyle toString (#3078) Previously we got some punctuation wrong. --- lib/ui/text.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/text.dart b/lib/ui/text.dart index f573946a4..66b6b8dcf 100644 --- a/lib/ui/text.dart +++ b/lib/ui/text.dart @@ -491,8 +491,8 @@ class ParagraphStyle { 'lineCount: ${ _encoded[0] & 0x10 == 0x10 ? _encoded[4] : "unspecified"}, ' 'fontFamily: ${ _encoded[0] & 0x20 == 0x20 ? _fontFamily : "unspecified"}, ' 'fontSize: ${ _encoded[0] & 0x40 == 0x40 ? _fontSize : "unspecified"}, ' - 'lineHeight: ${ _encoded[0] & 0x80 == 0x80 ? "${_lineHeight}x" : "unspecified"},' - 'ellipsis: ${ _encoded[0] & 0x100 == 0x100 ? "\"$_ellipsis\"" : "unspecified"},' + 'lineHeight: ${ _encoded[0] & 0x80 == 0x80 ? "${_lineHeight}x" : "unspecified"}, ' + 'ellipsis: ${ _encoded[0] & 0x100 == 0x100 ? "\"$_ellipsis\"" : "unspecified"}' ')'; } } -- GitLab