StreamContextMenuThemeData class
Theme data for customizing context menus.
Contains a StreamContextMenuStyle that defines the visual properties of the menu container. This follows the same pattern as Flutter's MenuThemeData which wraps MenuStyle.
See also:
- StreamContextMenuTheme, for overriding theme in a widget subtree.
- StreamContextMenuStyle, for container-level styling.
- StreamContextMenu, which uses these properties.
- Annotations
-
- @themeGen
- @immutable
Constructors
- StreamContextMenuThemeData({StreamContextMenuStyle? style})
-
Creates context menu theme data with optional style overrides.
const
Properties
- canMerge → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → StreamContextMenuStyle?
-
The visual styling for the context menu container.
final
Methods
-
copyWith(
{StreamContextMenuStyle? style}) → StreamContextMenuThemeData -
inherited
-
merge(
StreamContextMenuThemeData? other) → StreamContextMenuThemeData -
inherited
-
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.
inherited
Static Methods
-
lerp(
StreamContextMenuThemeData? a, StreamContextMenuThemeData? b, double t) → StreamContextMenuThemeData? - Linearly interpolate between two StreamContextMenuThemeData values.