AgoraVideoViewer constructor
const
AgoraVideoViewer({
- Key? key,
- required AgoraClient client,
- Layout layoutType = Layout.grid,
- double? floatingLayoutContainerHeight,
- double? floatingLayoutContainerWidth,
- EdgeInsets floatingLayoutMainViewPadding = const EdgeInsets.fromLTRB(3, 0, 3, 3),
- EdgeInsets floatingLayoutSubViewPadding = const EdgeInsets.fromLTRB(3, 3, 0, 3),
- Widget disabledVideoWidget = const DisabledVideoWidget(),
- bool showAVState = false,
- bool enableHostControls = false,
- bool showNumberOfUsers = false,
- RenderModeType renderModeType = RenderModeType.renderModeHidden,
Implementation
const AgoraVideoViewer({
Key? 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,
}) : super(key: key);