AgoraScreen constructor

const AgoraScreen({
  1. Key? key,
  2. required AgoraUser? value,
  3. double iconSize = 48.0,
  4. Color? disabledColor,
  5. Color? disabledBackgroundColor,
  6. Widget? disabled,
  7. double? height,
  8. double? width,
  9. bool useAndroidSurfaceView = false,
  10. bool useFlutterTexture = false,
})

A widget that displays the connected video.

Specify AgoraUser obtained from AgoraController.value in value.

You can specify the size by specifying width and height.

You can specify icons, etc. for disconnection by using iconSize, disabledColor, disabledBackgroundColor, disabled, etc.

接続されている映像を表示するウィジェット。

valueAgoraController.valueから取得したAgoraUserを指定します。

widthheightを指定してサイズを指定できます。

iconSizedisabledColordisabledBackgroundColordisabled等を利用して、切断時のアイコン等を指定できます。

Implementation

const AgoraScreen({
  super.key,
  required this.value,
  this.iconSize = 48.0,
  this.disabledColor,
  this.disabledBackgroundColor,
  this.disabled,
  this.height,
  this.width,
  this.useAndroidSurfaceView = false,
  this.useFlutterTexture = false,
});