Skip to content

Commit

Permalink
Fix documentation (flutter#3362)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom authored and Minyewoo committed Jan 12, 2021
1 parent f2f1fbd commit 745e041
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/camera/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@




## 0.6.3

* Adds auto exposure support for Android and iOS implementations.
Expand Down
8 changes: 1 addition & 7 deletions packages/camera/camera/lib/src/camera_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,7 @@ class CameraController extends ValueNotifier<CameraValue> {
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 {
Expand Down
1 change: 1 addition & 0 deletions packages/camera/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 745e041

Please sign in to comment.