From 5e1013b156381a8b8b24662971b1bd489d32f79e Mon Sep 17 00:00:00 2001 From: Vitaliy Zarubin Date: Thu, 2 Nov 2023 18:10:55 +0300 Subject: [PATCH] [camera] Remove debug and commits --- packages/camera/camera_aurora/lib/camera_aurora.dart | 1 - .../camera_aurora/lib/camera_aurora_method_channel.dart | 3 --- packages/camera/camera_aurora/lib/camera_viewfinder.dart | 4 ---- 3 files changed, 8 deletions(-) diff --git a/packages/camera/camera_aurora/lib/camera_aurora.dart b/packages/camera/camera_aurora/lib/camera_aurora.dart index d694c2e..ca3a04f 100644 --- a/packages/camera/camera_aurora/lib/camera_aurora.dart +++ b/packages/camera/camera_aurora/lib/camera_aurora.dart @@ -60,7 +60,6 @@ class CameraAurora extends CameraPlatform { Future resumeVideoRecording(int cameraId) => CameraAuroraPlatform.instance.resumeVideoRecording(cameraId); - /// The camera has been initialized. @override Stream onCameraInitialized(int cameraId) async* { yield CameraInitializedEvent( diff --git a/packages/camera/camera_aurora/lib/camera_aurora_method_channel.dart b/packages/camera/camera_aurora/lib/camera_aurora_method_channel.dart index e47bd6b..0925996 100644 --- a/packages/camera/camera_aurora/lib/camera_aurora_method_channel.dart +++ b/packages/camera/camera_aurora/lib/camera_aurora_method_channel.dart @@ -41,7 +41,6 @@ class MethodChannelCameraAurora extends CameraAuroraPlatform { } } - /// Camera @override Future> availableCameras() async { final List result = []; @@ -100,7 +99,6 @@ class MethodChannelCameraAurora extends CameraAuroraPlatform { .invokeMethod(CameraAuroraMethods.dispose.name); } - /// Make Photo @override Future takePicture(int cameraId) async { final image = await methodsChannel.invokeMethod( @@ -116,7 +114,6 @@ class MethodChannelCameraAurora extends CameraAuroraPlatform { ); } - // Record Video @override Future startVideoRecording(int cameraId, {Duration? maxVideoDuration}) async { diff --git a/packages/camera/camera_aurora/lib/camera_viewfinder.dart b/packages/camera/camera_aurora/lib/camera_viewfinder.dart index 607dc81..be4f31c 100644 --- a/packages/camera/camera_aurora/lib/camera_viewfinder.dart +++ b/packages/camera/camera_aurora/lib/camera_viewfinder.dart @@ -29,7 +29,6 @@ class _CameraViewfinderState extends State { CameraAuroraPlatform.instance.onChangeState().listen((event) { if (mounted) { setState(() { - debugPrint(_cameraState.toString()); _cameraState = event; }); } @@ -72,9 +71,6 @@ class _CameraViewfinderState extends State { double height = 10; double width = 10; - // widget.width = widget.height - // _cameraState.height = _cameraState.width - if (_cameraState.height != 0 && _cameraState.width != 0) { if (_cameraState.rotationDisplay == 90 || _cameraState.rotationDisplay == 270) {