CameraMacOSRawView constructor
const
CameraMacOSRawView({})
Implementation
const CameraMacOSRawView({
super.key,
this.usePlatformView = false,
this.cameraSize,
this.textureId,
this.filterQuality = FilterQuality.low,
this.onPlatformViewCreated,
}) : assert(
!usePlatformView || cameraSize != null,
'cameraSize must not be null when usePlatformView is true',
),
assert(
usePlatformView || textureId != null,
'textureId must not be null when usePlatformView is false',
);