Skip to main content

ElevatedButtonTheme

Customizes the appearance of ElevatedButton across the app.

ElevatedButtonTheme class has the following properties:

bgcolor​

Overrides the default value of ElevatedButton.bgcolor in all descendant ElevatedButton controls.

foreground_color​

Overrides the default value of ElevatedButton.foreground_color in all descendant ElevatedButton controls.

icon_color​

Overrides the default value of ElevatedButton.icon_color in all descendant ElevatedButton controls.

shadow_color​

Overrides the default value of ElevatedButton.shadow_color in all descendant ElevatedButton controls.

disabled_bgcolor​

Overrides the default value of ElevatedButton.disabled_bgcolor in all descendant ElevatedButton controls.

disabled_foreground_color​

Overrides the default value of ElevatedButton.disabled_foreground_color in all descendant ElevatedButton controls.

disabled_icon_color​

Overrides the default value of ElevatedButton.disabled_icon_color in all descendant ElevatedButton controls.

overlay_color​

Overrides the default value of ElevatedButton.overlay_color in all descendant ElevatedButton controls.

surface_tint_color​

Overrides the default value of ElevatedButton.surface_tint_color in all descendant ElevatedButton controls.

elevation​

Overrides the default value of ElevatedButton.elevation in all descendant ElevatedButton controls.

padding​

Overrides the default value of ElevatedButton.padding in all descendant ElevatedButton controls.

enable_feedback​

Overrides the default value of ElevatedButton.enable_feedback in all descendant ElevatedButton controls.

disabled_mouse_cursor​

Overrides the default value of ElevatedButton.disabled_mouse_cursor in all descendant ElevatedButton controls.

enabled_mouse_cursor​

Overrides the default value of ElevatedButton.enabled_mouse_cursor in all descendant ElevatedButton controls.

shape​

Overrides the default value of ElevatedButton.shape in all descendant ElevatedButton controls.

text_style​

Overrides the default value of ElevatedButton.text_style in all descendant ElevatedButton controls.

visual_density​

Overrides the default value of ElevatedButton.visual_density in all descendant ElevatedButton controls.

border_side​

Overrides the default value of ElevatedButton.border_side in all descendant ElevatedButton controls.

animation_duration​

Overrides the default value of ElevatedButton.animation_duration in all descendant ElevatedButton controls.

alignment​

Overrides the default value of ElevatedButton.alignment in all descendant ElevatedButton controls.

icon_size​

Overrides the default value of ElevatedButton.icon_size in all descendant ElevatedButton controls.

fixed_size​

Overrides the default value of ElevatedButton.fixed_size in all descendant ElevatedButton controls.

maximum_size​

Overrides the default value of ElevatedButton.maximum_size in all descendant ElevatedButton controls.

minimum_size​

Overrides the default value of ElevatedButton.minimum_size in all descendant ElevatedButton controls.