Unverified Commit 8a40c7de authored by Darren Austin's avatar Darren Austin Committed by GitHub

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

parent 9a34a60c
...@@ -167,7 +167,7 @@ class OutlinedButton extends ButtonStyleButton { ...@@ -167,7 +167,7 @@ class OutlinedButton extends ButtonStyleButton {
) )
Color? primary, Color? primary,
@Deprecated( @Deprecated(
'Use disabledForegroundColor and disabledForegroundColor instead. ' 'Use disabledForegroundColor instead. '
'This feature was deprecated after v3.1.0.' 'This feature was deprecated after v3.1.0.'
) )
Color? onSurface, Color? onSurface,
......
...@@ -174,7 +174,7 @@ class TextButton extends ButtonStyleButton { ...@@ -174,7 +174,7 @@ class TextButton extends ButtonStyleButton {
) )
Color? primary, Color? primary,
@Deprecated( @Deprecated(
'Use disabledForegroundColor and disabledForegroundColor instead. ' 'Use disabledForegroundColor instead. '
'This feature was deprecated after v3.1.0.' 'This feature was deprecated after v3.1.0.'
) )
Color? onSurface, Color? onSurface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment