mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fixed some doc typos in OutlineButton and TextButton.styleFrom deprecations. (#110308)
This commit is contained in:
parent
9a34a60c0c
commit
8a40c7ded0
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user