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 -
EventTypeenum; passed toShareButtonsComponentfor 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
ShareEventModalStyleOptionsfor 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). MeetingIdComponentshowsroomNamewith copy-to-clipboard button.MeetingPasscodeComponentshowsadminPasscodewith copy button (admin-only).ShareButtonsComponentrenders social icons (Twitter, Facebook, Email, WhatsApp, Telegram, Clipboard) usingeventTypefor share text.- Positions via
getModalPositionusingoptions.position. - Override via
MediasfuUICustomOverrides.shareEventModalto 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