createCameraTextureBox method

Future<TextureBox> createCameraTextureBox(
  1. CameraDescription? cameraDescription
)

Implementation

Future<TextureBox> createCameraTextureBox(
    CameraDescription? cameraDescription) async {
  this.cameraDescription = cameraDescription;
  await _createCameraController();
  return TextureBox(textureId: controller!.textureId!);
}