Unverified Commit 23e1d8f3 authored by sehee Jeong's avatar sehee Jeong Committed by GitHub

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
parent 6b444c4d
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment