currentCamera property
Implementation
Future<CameraDescription?> get currentCamera async {
try {
return (await allCameras)[_currentCameraIndex];
} catch (e) {}
return await mainCamera; //XXX (related to #202) use other lenses
}
Future<CameraDescription?> get currentCamera async {
try {
return (await allCameras)[_currentCameraIndex];
} catch (e) {}
return await mainCamera; //XXX (related to #202) use other lenses
}