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 whenislevel == '2'
(admin).position
: string (e.g.,'bottomRight'
,'center'
) controlling modal placement viagetModalPosition
.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
-
MenuModalOptions.new({Color backgroundColor = const Color(0xFF83C0E9), required bool isVisible, required dynamic onClose(), required List<
CustomButton> customButtons, String position = 'bottomRight', required String roomName, required String adminPasscode, required String islevel, required EventType eventType, String? localLink = ''})
Properties
- adminPasscode → String
-
final
- backgroundColor → Color
-
final
-
customButtons
→ List<
CustomButton> -
final
- eventType → EventType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- islevel → String
-
final
- isVisible → bool
-
final
- localLink ↔ String?
-
getter/setter pair
- onClose → dynamic Function()
-
final
- position → String
-
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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