Skip to main content

PopupMenuTheme

Customizes the appearance of PopupMenuButton across the app.

PopupMenuTheme class has the following properties:

color

Overrides the default value of PopupMenuButton.color in all descendant PopupMenuButton controls.

elevation

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

enable_feedback

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

icon_color

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

icon_size

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

label_text_style

Overrides the default value of PopupMenuButton.label_text_style in all descendant PopupMenuButton controls.

Overrides the default value of PopupMenuButton.menu_padding in all descendant PopupMenuButton controls.

Value is of type PaddingValue.

Overrides the default value of PopupMenuButton.menu_position in all descendant PopupMenuButton controls.

mouse_cursor

Overrides the default value of PopupMenuButton.mouse_cursor in all descendant PopupMenuButton controls.

shadow_color

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

shape

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

surface_tint_color

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

text_style

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