TextButtonTheme
Customizes the appearance of TextButton
across the app.
TextButtonTheme
class has the following properties:
bgcolor
Overrides the default value of TextButton.bgcolor
in all descendant TextButton
controls.
foreground_color
Overrides the default value of TextButton.foreground_color
in all descendant TextButton
controls.
icon_color
Overrides the default value of TextButton.icon_color
in all descendant TextButton
controls.
shadow_color
Overrides the default value of TextButton.shadow_color
in all descendant TextButton
controls.
disabled_bgcolor
Overrides the default value of TextButton.disabled_bgcolor
in all descendant TextButton
controls.
disabled_foreground_color
Overrides the default value of TextButton.disabled_foreground_color
in all descendant TextButton
controls.
disabled_icon_color
Overrides the default value of TextButton.disabled_icon_color
in all descendant TextButton
controls.
overlay_color
Overrides the default value of TextButton.overlay_color
in all descendant TextButton
controls.
surface_tint_color
Overrides the default value of TextButton.surface_tint_color
in all descendant TextButton
controls.
elevation
Overrides the default value of TextButton.elevation
in all descendant TextButton
controls.
padding
Overrides the default value of TextButton.padding
in all descendant TextButton
controls.
enable_feedback
Overrides the default value of TextButton.enable_feedback
in all descendant TextButton
controls.
disabled_mouse_cursor
Overrides the default value of TextButton.disabled_mouse_cursor
in all descendant TextButton
controls.
enabled_mouse_cursor
Overrides the default value of TextButton.enabled_mouse_cursor
in all descendant TextButton
controls.
shape
Overrides the default value of TextButton.shape
in all descendant TextButton
controls.
text_style
Overrides the default value of TextButton.text_style
in all descendant TextButton
controls.
visual_density
Overrides the default value of TextButton.visual_density
in all descendant TextButton
controls.
border_side
Overrides the default value of TextButton.border_side
in all descendant TextButton
controls.
animation_duration
Overrides the default value of TextButton.animation_duration
in all descendant TextButton
controls.
alignment
Overrides the default value of TextButton.alignment
in all descendant TextButton
controls.
icon_size
Overrides the default value of TextButton.icon_size
in all descendant TextButton
controls.
fixed_size
Overrides the default value of TextButton.fixed_size
in all descendant TextButton
controls.
maximum_size
Overrides the default value of TextButton.maximum_size
in all descendant TextButton
controls.
minimum_size
Overrides the default value of TextButton.minimum_size
in all descendant TextButton
controls.