Fix typo in Text docs (#18635)

This commit is contained in:
Adam Barth 2018-06-21 19:29:30 -07:00 committed by GitHub
parent e581435d28
commit b327ac3445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ class DefaultTextStyle extends InheritedWidget {
/// for example, to make the text bold while using the default font family and
/// size.
///
/// Using the [new TextSpan.rich] constructor, the [Text] widget can also be
/// Using the [new Text.rich] constructor, the [Text] widget can also be
/// created with a [TextSpan] to display text that use multiple styles
/// (e.g., a paragraph with some bold words).
///