From 745e0411ed4bb87b763126e5339c73d1d8c61069 Mon Sep 17 00:00:00 2001 From: Maurits van Beusekom Date: Tue, 22 Dec 2020 18:56:02 +0100 Subject: [PATCH] Fix documentation (#3362) --- packages/camera/camera/CHANGELOG.md | 1 + packages/camera/camera/lib/src/camera_controller.dart | 8 +------- packages/camera/camera/pubspec.yaml | 1 + 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/camera/camera/CHANGELOG.md b/packages/camera/camera/CHANGELOG.md index c0c54d36b8a5..0c51ead0c4d8 100644 --- a/packages/camera/camera/CHANGELOG.md +++ b/packages/camera/camera/CHANGELOG.md @@ -1,6 +1,7 @@ + ## 0.6.3 * Adds auto exposure support for Android and iOS implementations. diff --git a/packages/camera/camera/lib/src/camera_controller.dart b/packages/camera/camera/lib/src/camera_controller.dart index de7c1be04699..db19af24c001 100644 --- a/packages/camera/camera/lib/src/camera_controller.dart +++ b/packages/camera/camera/lib/src/camera_controller.dart @@ -265,13 +265,7 @@ class CameraController extends ValueNotifier { await CameraPlatform.instance.prepareForVideoRecording(); } - /// Captures an image and saves it to [path]. - /// - /// A path can for example be obtained using - /// [path_provider](https://pub.dartlang.org/packages/path_provider). - /// - /// If a file already exists at the provided path an error will be thrown. - /// The file can be read as this function returns. + /// Captures an image and returns the file where it was saved. /// /// Throws a [CameraException] if the capture fails. Future takePicture() async { diff --git a/packages/camera/camera/pubspec.yaml b/packages/camera/camera/pubspec.yaml index 45081302b715..eb576747f24a 100644 --- a/packages/camera/camera/pubspec.yaml +++ b/packages/camera/camera/pubspec.yaml @@ -4,6 +4,7 @@ description: A Flutter plugin for getting information about and controlling the and streaming image buffers to dart. + version: 0.6.3 homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera dependencies: