ButtonTheme
This class is deprecated since v0.27.0
and will be removed in v0.30.0
.
Use ElevatedButtonTheme
, OutlinedButtonTheme
, TextButtonTheme
, FilledButtonTheme
or IconButtonTheme
instead.
Customizes the appearance of Button
across the app.
ButtonTheme
class has the following properties:
aligned_dropdown
Overrides the default value of Button.aligned_dropdown
in all descendant Button
controls.
button_color
Overrides the default value of Button.color
in all descendant Button
controls.
color_scheme
Overrides the default value of Button.color_scheme
in all descendant Button
controls.
disabled_color
Overrides the default value of Button.disabled_color
in all descendant Button
controls.
focus_color
Overrides the default value of Button.focus_color
in all descendant Button
controls.
height
Overrides the default value of Button.height
in all descendant Button
controls.
hover_color
Overrides the default value of Button.hover_color
in all descendant Button
controls.
highlight_color
Overrides the default value of Button.highlight_color
in all descendant Button
controls.
min_width
Overrides the default value of Button.min_width
in all descendant Button
controls.
shape
Overrides the default value of Button.shape
in all descendant Button
controls.
splash_color
Overrides the default value of Button.splash_color
in all descendant Button
controls.
padding
Overrides the default value of Button.padding
in all descendant Button
controls.