toScreen method

Widget toScreen({
  1. double iconSize = 48.0,
  2. Color? disabledColor,
  3. Color? disabledBackgroundColor,
  4. Widget? disabled,
  5. bool useAndroidSurfaceView = false,
  6. bool useFlutterTexture = false,
})

Convert AgoraUser to AgoraScreen as it is.

AgoraUserをそのままAgoraScreenに変換します。

Implementation

Widget toScreen({
  double iconSize = 48.0,
  Color? disabledColor,
  Color? disabledBackgroundColor,
  Widget? disabled,
  bool useAndroidSurfaceView = false,
  bool useFlutterTexture = false,
}) {
  return AgoraScreen(
    value: this,
    iconSize: iconSize,
    disabled: disabled,
    disabledColor: disabledColor,
    disabledBackgroundColor: disabledBackgroundColor,
    useAndroidSurfaceView: useAndroidSurfaceView,
    useFlutterTexture: useFlutterTexture,
  );
}