重新预览相机 Reset the camera
Future<bool> resetCamera() async { if (previousCamera == null) return false; await stopPreview(); final options = await startPreview(previousCamera!); return options != null; }