ShareEventModalOptions class
Configuration for the share-event modal displaying meeting ID, passcode (admin-only), and social sharing.
- roomName - Meeting ID displayed via
MeetingIdComponent
(shareable string for joining). - adminPasscode - Meeting passcode displayed via
MeetingPasscodeComponent
; only shown whenislevel == '2'
. - shareButtons - Toggles
ShareButtonsComponent
(social share icons). - islevel - Privilege level;
'2'
= host (passcode visible), others see passcode as hidden. - eventType -
EventType
enum; passed toShareButtonsComponent
for context-aware share text. - localLink - Optional custom URL for sharing (defaults to room link).
- position - Modal placement via
getModalPosition
(e.g., 'topRight'). - backgroundColor - Background color for modal container.
- styles - Optional
ShareEventModalStyleOptions
for advanced theming (width, height, borders, spacing). - title / passcodeSection / meetingIdSection / shareButtonsSection - Custom widget replacements for sections.
- headerBuilder / passcodeBuilder / meetingIdBuilder / shareButtonsBuilder / bodyBuilder / contentBuilder / containerBuilder - Builder hooks for granular customization; each receives context object with
default*
widget and metadata.
Usage
- Modal displays three sections:
MeetingPasscodeComponent
(admin-only),MeetingIdComponent
(always),ShareButtonsComponent
(ifshareButtons == true
). MeetingIdComponent
showsroomName
with copy-to-clipboard button.MeetingPasscodeComponent
showsadminPasscode
with copy button (admin-only).ShareButtonsComponent
renders social icons (Twitter, Facebook, Email, WhatsApp, Telegram, Clipboard) usingeventType
for share text.- Positions via
getModalPosition
usingoptions.position
. - Override via
MediasfuUICustomOverrides.shareEventModal
to inject branded sharing templates, deep-link generation, or analytics tracking.
Constructors
Properties
- adminPasscode → String
-
final
- backgroundColor → Color
-
final
- bodyBuilder → ShareEventModalBodyBuilder?
-
final
- containerBuilder → ShareEventModalContainerBuilder?
-
final
- contentBuilder → ShareEventModalContentBuilder?
-
final
- eventType → EventType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBuilder → ShareEventModalHeaderBuilder?
-
final
- islevel → String
-
final
-
final
- localLink → String?
-
final
- meetingIdBuilder → ShareEventModalMeetingIdBuilder?
-
final
- meetingIdSection → Widget?
-
final
-
final
- passcodeBuilder → ShareEventModalPasscodeBuilder?
-
final
- passcodeSection → Widget?
-
final
- position → String
-
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
-
final
-
final
- styles → ShareEventModalStyleOptions?
-
final
- title → Widget?
-
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