Skip to main content

IconButtonTheme

Customizes the appearance of IconButton across the app.

IconButtonTheme class has the following properties:

bgcolor

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

foreground_color

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

shadow_color

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

disabled_bgcolor

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

disabled_foreground_color

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

overlay_color

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

surface_tint_color

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

elevation

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

padding

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

enable_feedback

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

disabled_mouse_cursor

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

enabled_mouse_cursor

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

shape

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

visual_density

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

border_side

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

animation_duration

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

alignment

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

icon_size

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

fixed_size

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

maximum_size

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

minimum_size

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

focus_color

Overrides the default value of IconButton.focus_color in all descendant IconButton controls.

highlight_color

Overrides the default value of IconButton.highlight_color in all descendant IconButton controls.

hover_color

Overrides the default value of IconButton.hover_color in all descendant IconButton controls.