From 4a6fe23300453fc92a20c73dbee5cb24ce6da4a5 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 19 Jan 2017 15:07:42 -0800 Subject: [PATCH] Expose justify TextAlign option (flutter/engine#3348) fixes flutter/flutter#6865 --- engine/src/flutter/lib/ui/text.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/lib/ui/text.dart b/engine/src/flutter/lib/ui/text.dart index 70f391bd78..a64f7365de 100644 --- a/engine/src/flutter/lib/ui/text.dart +++ b/engine/src/flutter/lib/ui/text.dart @@ -90,7 +90,10 @@ enum TextAlign { right, /// Align the text in the center of the container - center + center, + + /// Stretch each line of text to fill the width of the container + justify } /// A horizontal line used for aligning text