From 8a40c7ded09180e5b4cdcffb920f11c50e2cf096 Mon Sep 17 00:00:00 2001 From: Darren Austin Date: Fri, 26 Aug 2022 10:32:43 -0700 Subject: [PATCH] Fixed some doc typos in OutlineButton and TextButton.styleFrom deprecations. (#110308) --- packages/flutter/lib/src/material/outlined_button.dart | 2 +- packages/flutter/lib/src/material/text_button.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/material/outlined_button.dart b/packages/flutter/lib/src/material/outlined_button.dart index 176940a9cb2..b343815277f 100644 --- a/packages/flutter/lib/src/material/outlined_button.dart +++ b/packages/flutter/lib/src/material/outlined_button.dart @@ -167,7 +167,7 @@ class OutlinedButton extends ButtonStyleButton { ) Color? primary, @Deprecated( - 'Use disabledForegroundColor and disabledForegroundColor instead. ' + 'Use disabledForegroundColor instead. ' 'This feature was deprecated after v3.1.0.' ) Color? onSurface, diff --git a/packages/flutter/lib/src/material/text_button.dart b/packages/flutter/lib/src/material/text_button.dart index 3f22f26912c..e60ae98b7f6 100644 --- a/packages/flutter/lib/src/material/text_button.dart +++ b/packages/flutter/lib/src/material/text_button.dart @@ -174,7 +174,7 @@ class TextButton extends ButtonStyleButton { ) Color? primary, @Deprecated( - 'Use disabledForegroundColor and disabledForegroundColor instead. ' + 'Use disabledForegroundColor instead. ' 'This feature was deprecated after v3.1.0.' ) Color? onSurface,