Fix documentation (#3362)
diff --git a/packages/camera/camera/CHANGELOG.md b/packages/camera/camera/CHANGELOG.md
index 168ed55..2811384 100644
--- a/packages/camera/camera/CHANGELOG.md
+++ b/packages/camera/camera/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.6.2+1
+
+* Fix the API documentation for the `CameraController.takePicture` method.
+
## 0.6.2
* Add zoom 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 b79975f..1d7aed7 100644
--- a/packages/camera/camera/lib/src/camera_controller.dart
+++ b/packages/camera/camera/lib/src/camera_controller.dart
@@ -226,13 +226,7 @@
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<XFile> takePicture() async {
diff --git a/packages/camera/camera/pubspec.yaml b/packages/camera/camera/pubspec.yaml
index d823dd3..4f6ade2 100644
--- a/packages/camera/camera/pubspec.yaml
+++ b/packages/camera/camera/pubspec.yaml
@@ -2,7 +2,7 @@
description: A Flutter plugin for getting information about and controlling the
camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video,
and streaming image buffers to dart.
-version: 0.6.2
+version: 0.6.2+1
homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera
dependencies: