ContextMenuTheme class
Theme for ContextMenuPopup and context menu widgets.
Constructors
- ContextMenuTheme.new({double? surfaceOpacity, double? surfaceBlur})
-
Creates a ContextMenuTheme.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surfaceBlur → double?
-
Surface blur for the popup container.
final
- surfaceOpacity → double?
-
Surface opacity for the popup container.
final
Methods
-
copyWith(
{ValueGetter< double?> ? surfaceOpacity, ValueGetter<double?> ? surfaceBlur}) → ContextMenuTheme - 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