AddVideosGridOptions class

Options for adding participants and streams to the video grid.

AddVideosGridOptions provides configuration for managing the display of participants in both the main and alternate grids, including the structure of the grid layout, participant streams, and visibility of the alternate grid.

Example:

final options = AddVideosGridOptions(
  mainGridStreams: mainStreams,
  altGridStreams: altStreams,
  numRows: 3,
  numCols: 2,
  actualRows: 3,
  lastRowCols: 1,
  removeAltGrid: false,
  parameters: gridParameters,
);

await addVideosGrid(options);

Constructors

AddVideosGridOptions({required List<Stream> mainGridStreams, required List<Stream> altGridStreams, required int numRows, required int numCols, required int actualRows, required int lastRowCols, required bool removeAltGrid, required AddVideosGridParameters parameters})

Properties

actualRows int
final
altGridStreams List<Stream>
final
hashCode int
The hash code for this object.
no setterinherited
lastRowCols int
final
mainGridStreams List<Stream>
final
numCols int
final
numRows int
final
parameters AddVideosGridParameters
final
removeAltGrid bool
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