Fixed some doc typos in OutlineButton and TextButton.styleFrom deprecations. (#110308)

This commit is contained in:
Darren Austin
2022-08-26 10:32:43 -07:00
committed by GitHub
parent 9a34a60c0c
commit 8a40c7ded0
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,