SurfaceView constructor Null safety

SurfaceView(
  1. {Key? key,
  2. String? channelId,
  3. dynamic renderMode = VideoRenderMode.Hidden,
  4. dynamic mirrorMode = VideoMirrorMode.Auto,
  5. dynamic zOrderOnTop = false,
  6. dynamic zOrderMediaOverlay = false,
  7. PlatformViewCreatedCallback? onPlatformViewCreated,
  8. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers}
)

Constructs a SurfaceView

Implementation

SurfaceView({
  Key? key,
  String? channelId,
  renderMode = VideoRenderMode.Hidden,
  mirrorMode = VideoMirrorMode.Auto,
  zOrderOnTop = false,
  zOrderMediaOverlay = false,
  PlatformViewCreatedCallback? onPlatformViewCreated,
  Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
}) : super(
        key: key,
        uid: 0,
        channelId: channelId,
        renderMode: renderMode,
        mirrorMode: mirrorMode,
        zOrderOnTop: zOrderOnTop,
        zOrderMediaOverlay: zOrderMediaOverlay,
        onPlatformViewCreated: onPlatformViewCreated,
        gestureRecognizers: gestureRecognizers,
      );