DisplaySettingsModalOptions class

Configuration for the display-settings modal controlling participant-grid behavior.

  • onModifySettings - Override for modifyDisplaySettings; receives {settings, parameters}. Applies changes to meetingDisplayType, autoWave, forceFullDisplay, meetingVideoOptimized.
  • parameters - Must expose meetingDisplayType (current selection: 'video', 'media', or 'all'), autoWave, forceFullDisplay, meetingVideoOptimized.
  • position - Modal placement via getModalPosition (e.g., 'topRight').
  • backgroundColor - Background color for modal container.

Usage

  1. "Display Option" dropdown: 'video' = video-only participants, 'media' = only those with active audio/video, 'all' = everyone including listeners.
  2. "Display Audiographs" switch: enables waveform overlays on audio-only tiles.
  3. "Force Full Display" switch: prevents tile collapse for inactive participants.
  4. "Force Video Participants" switch: prioritizes video tiles in grid layout.
  5. Save button invokes onModifySettings with new values, updating parameters.
  6. Override via MediasfuUICustomOverrides.displaySettingsModal to inject analytics tracking, device-specific defaults, or custom display modes.

Constructors

DisplaySettingsModalOptions.new({required bool isVisible, required VoidCallback onClose, ModifyDisplaySettingsType onModifySettings = modifyDisplaySettings, required DisplaySettingsModalParameters parameters, String position = 'topRight', Color backgroundColor = const Color(0xFF83C0E9)})

Properties

backgroundColor Color
final
hashCode int
The hash code for this object.
no setterinherited
isVisible bool
final
onClose VoidCallback
final
onModifySettings ModifyDisplaySettingsType
final
parameters DisplaySettingsModalParameters
final
position String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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