preview property
The texture and geometry to render, or null before initialize completes.
Implementation
@override
PreviewTexture? get preview => _isInitialized
? const PreviewTexture(
textureId: 7,
size: Size(1920, 1080),
sensorOrientation: 90,
facing: CameraFacing.back,
)
: null;