VideoCardOptions class

Configuration options for the VideoCard widget.

The VideoCardOptions class provides a comprehensive set of configuration options to customize the appearance and behavior of the VideoCard widget, including parameters for audio and video control, waveform animations, and display options.

Example:

VideoCard(
  options: VideoCardOptions(
    parameters: VideoCardParametersImplementation(),
    name: "John Doe",
    remoteProducerId: "12345",
    eventType: EventType.video,
    videoStream: mediaStream,
    participant: participant,
  ),
);

Constructors

VideoCardOptions({required VideoCardParameters parameters, required String name, Color barColor = const Color.fromARGB(255, 232, 46, 46), Color textColor = const Color.fromARGB(255, 25, 25, 25), String imageSource = '', bool roundedImage = false, Map<String, dynamic> imageStyle = const {}, required String remoteProducerId, required EventType eventType, bool forceFullDisplay = false, required MediaStream? videoStream, bool showControls = true, bool showInfo = true, Widget? videoInfoComponent, Widget? videoControlsComponent, String controlsPosition = 'topLeft', String infoPosition = 'topRight', required Participant participant, Color backgroundColor = const Color(0xFF2c678f), bool doMirror = false, ControlMediaType controlUserMedia = controlMedia})

Properties

backgroundColor Color
final
barColor Color
final
controlsPosition String
final
controlUserMedia ControlMediaType
final
doMirror bool
final
eventType EventType
final
forceFullDisplay bool
final
hashCode int
The hash code for this object.
no setterinherited
imageSource String
final
imageStyle Map<String, dynamic>
final
infoPosition String
final
name String
final
parameters VideoCardParameters
final
participant Participant
final
remoteProducerId String
final
roundedImage bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showControls bool
final
showInfo bool
final
textColor Color
final
videoControlsComponent Widget?
final
videoInfoComponent Widget?
final
videoStream MediaStream?
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