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,