AgoraVideoViewer constructor

const AgoraVideoViewer({
  1. Key? key,
  2. required AgoraClient client,
  3. Layout layoutType = Layout.grid,
  4. double? floatingLayoutContainerHeight,
  5. double? floatingLayoutContainerWidth,
  6. EdgeInsets floatingLayoutMainViewPadding = const EdgeInsets.fromLTRB(3, 0, 3, 3),
  7. EdgeInsets floatingLayoutSubViewPadding = const EdgeInsets.fromLTRB(3, 3, 0, 3),
  8. Widget disabledVideoWidget = const DisabledVideoWidget(),
  9. bool showAVState = false,
  10. bool enableHostControls = false,
  11. bool showNumberOfUsers = false,
  12. RenderModeType renderModeType = RenderModeType.renderModeHidden,
})

Implementation

const AgoraVideoViewer({
  super.key,
  required this.client,
  this.layoutType = Layout.grid,
  this.floatingLayoutContainerHeight,
  this.floatingLayoutContainerWidth,
  this.floatingLayoutMainViewPadding = const EdgeInsets.fromLTRB(3, 0, 3, 3),
  this.floatingLayoutSubViewPadding = const EdgeInsets.fromLTRB(3, 3, 0, 3),
  this.disabledVideoWidget = const DisabledVideoWidget(),
  this.showAVState = false,
  this.enableHostControls = false,
  this.showNumberOfUsers = false,
  this.renderModeType = RenderModeType.renderModeHidden,
});