From 23e1d8f3bf1a90be371090f2ae179b7b9493ca96 Mon Sep 17 00:00:00 2001 From: sehee Jeong <39688690+jsh-me@users.noreply.github.com> Date: Wed, 9 Sep 2020 07:59:38 +0900 Subject: [PATCH] fix text.dart documentation (#65185) I modified TextAlign docs because the descriptions of TextAlign.center and Center Widget are so similar that they cause confusion. Fixes https://github.com/flutter/flutter/issues/5805 --- packages/flutter/lib/src/widgets/text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/text.dart b/packages/flutter/lib/src/widgets/text.dart index 446ca53ca8..860a4d876a 100644 --- a/packages/flutter/lib/src/widgets/text.dart +++ b/packages/flutter/lib/src/widgets/text.dart @@ -120,7 +120,7 @@ class DefaultTextStyle extends InheritedTheme { /// The text style to apply. final TextStyle style; - /// How the text should be aligned horizontally. + /// How each line of text in the Text widget should be aligned horizontally. final TextAlign textAlign; /// Whether the text should break at soft line breaks.