From b327ac34456fa408d3977cc68411fe47c7e4dff5 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 21 Jun 2018 19:29:30 -0700 Subject: [PATCH] Fix typo in Text docs (#18635) --- 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 94fa551e0d..f3a0c7762d 100644 --- a/packages/flutter/lib/src/widgets/text.dart +++ b/packages/flutter/lib/src/widgets/text.dart @@ -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). ///