StreamContextMenuActionThemeData class

Theme data for customizing context menu actions.

{@tool snippet}

Customize context menu action appearance globally:

StreamTheme(
  contextMenuActionTheme: StreamContextMenuActionThemeData(
    style: StreamContextMenuActionStyle(
      textStyle: WidgetStatePropertyAll(TextStyle(fontSize: 14)),
      iconSize: WidgetStatePropertyAll(20),
      padding: WidgetStatePropertyAll(EdgeInsets.all(8)),
    ),
  ),
)

{@end-tool}

See also:

Annotations

Constructors

StreamContextMenuActionThemeData({StreamContextMenuActionStyle? style})
Creates a context menu action theme 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 → StreamContextMenuActionStyle?
The visual styling for context menu actions.
final

Methods

copyWith({StreamContextMenuActionStyle? style}) → StreamContextMenuActionThemeData
inherited
merge(StreamContextMenuActionThemeData? other) → StreamContextMenuActionThemeData
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