MenuModalOptions class

Configuration payload for MenuModal.

Powers the quick-action tray that surfaces meeting metadata and custom buttons:

  • customButtons: inject your own action list with icons, text, and callbacks. Rendered via CustomButtons, enabling branded styling or dynamic visibility.
  • shareButtons: toggle social-sharing controls that expose the meeting ID and passcode to external channels.
  • roomName / adminPasscode: meeting credentials displayed in the modal. The passcode is only shown when islevel == '2' (admin).
  • position: string (e.g., 'bottomRight', 'center') controlling modal placement via getModalPosition.
  • localLink: optional URL for Community Edition servers, displayed in share components.

Override this component via MediasfuUICustomOverrides.menuModal to inject custom branding, alternative share channels, or additional quick-action buttons.

Constructors

Properties

adminPasscode → String
final
backgroundColor → Color
final
customButtons → List<CustomButton>
final
eventType → EventType
final
hashCode → int
The hash code for this object.
no setterinherited
isDarkMode → bool
Theme control - whether dark mode is active
final
islevel → String
final
isVisible → bool
final
getter/setter pair
onClose → dynamic Function()
final
onToggleTheme → void Function(bool)?
Callback to toggle the theme mode
final
position → String
final
renderMode → ModalRenderMode
Render mode: modal (default overlay), sidebar (inline for desktop), inline (no wrapper)
final
roomName → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shareButtons → bool
final

Methods

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