NavigationMenuTheme class

Theme configuration for NavigationMenu components.

Defines visual properties for navigation menu popovers including surface appearance, positioning, and spacing. This theme controls how navigation menu content is displayed when triggered.

The theme can be applied through ComponentTheme or passed directly to individual NavigationMenu widgets for customization.

Constructors

Creates a NavigationMenuTheme with the specified appearance properties.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
margin EdgeInsetsGeometry?
Margin applied to the popover.
final
offset Offset?
Offset for the popover relative to the trigger.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surfaceBlur double?
Blur amount of the popover surface.
final
surfaceOpacity double?
Opacity of the popover surface.
final

Methods

copyWith({ValueGetter<double?>? surfaceOpacity, ValueGetter<double?>? surfaceBlur, ValueGetter<EdgeInsetsGeometry?>? margin, ValueGetter<Offset?>? offset}) NavigationMenuTheme
Returns a copy of this theme with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override