OtherGridComponentOptions class

Configuration payload for OtherGridComponent.

These options power the MediaSFU "other participants" grid override and expose points for responsive layout and builder customization:

  • width / height act as optional hints. When non-positive they are replaced with values derived from the surrounding layout constraints so the grid never collapses during first paint.
  • children are rendered inside a Stack; childrenBuilder can wrap or replace the stack and receives the computed surface Size.
  • showTimer, meetingProgressTime, timerOptions, and timerBuilder allow the MediaSFU session timer to be injected alongside your widgets.
  • containerBuilder gives the opportunity to re-theme the host container while preserving padding, margin, and clipping semantics defined in the options.

Supply this object via MediasfuUICustomOverrides when overriding otherGrid.

Constructors

OtherGridComponentOptions({required Color backgroundColor, required List<Widget> children, required double width, required double height, bool showAspect = true, required Color timeBackgroundColor, required bool showTimer, required String meetingProgressTime, Decoration? decoration, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Clip clipBehavior = Clip.none, MeetingProgressTimerOptions? timerOptions, MeetingProgressTimerType? timerBuilder, OtherGridComponentContainerBuilder? containerBuilder, OtherGridComponentChildrenBuilder? childrenBuilder})
const

Properties

backgroundColor Color
final
children List<Widget>
final
childrenBuilder OtherGridComponentChildrenBuilder?
final
clipBehavior Clip
final
containerBuilder OtherGridComponentContainerBuilder?
final
decoration Decoration?
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
margin EdgeInsetsGeometry?
final
meetingProgressTime String
final
padding EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAspect bool
final
showTimer bool
final
timeBackgroundColor Color
final
timerBuilder MeetingProgressTimerType?
final
timerOptions MeetingProgressTimerOptions?
final
width double
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