attachPreviewTexture abstract method
Attaches this instance's preview stream to an existing texture.
A subsequent startPreview call renders into the attached texture.
Implementation
Future<void> attachPreviewTexture(int textureId, {int? width, int? height});