AgoraVideoViewer constructor Null safety

const AgoraVideoViewer(
  1. {Key? key,
  2. required AgoraClient client,
  3. Layout layoutType,
  4. double? floatingLayoutContainerHeight,
  5. double? floatingLayoutContainerWidth,
  6. EdgeInsets? floatingLayoutMainViewPadding,
  7. EdgeInsets? floatingLayoutSubViewPadding,
  8. Widget? disabledVideoWidget,
  9. bool showAVState,
  10. bool showNumberOfUsers}
)

Implementation

const AgoraVideoViewer({
  Key? key,
  required this.client,
  this.layoutType = Layout.grid,
  this.floatingLayoutContainerHeight,
  this.floatingLayoutContainerWidth,
  this.floatingLayoutMainViewPadding,
  this.floatingLayoutSubViewPadding,
  this.disabledVideoWidget,
  this.showAVState = false,
  this.showNumberOfUsers = false,
}) : super(key: key);