Skip to content

Commit 0362219

Browse files
authored
[image_picker] doc:readme image picker misprints (flutter#4421)
1 parent 34ea0c3 commit 0362219

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/image_picker/image_picker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.4+4
2+
3+
* Fix typos in README.md.
4+
15
## 0.8.4+3
26

37
* Suppress a unchecked cast build warning.

packages/image_picker/image_picker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import 'package:image_picker/image_picker.dart';
4747
// Pick a video
4848
final XFile? image = await _picker.pickVideo(source: ImageSource.gallery);
4949
// Capture a video
50-
final XFile? photo = await _picker.pickVideo(source: ImageSource.camera);
50+
final XFile? video = await _picker.pickVideo(source: ImageSource.camera);
5151
// Pick multiple images
5252
final List<XFile>? images = await _picker.pickMultiImage();
5353
...

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
repository: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
6-
version: 0.8.4+3
6+
version: 0.8.4+4
77

88
environment:
99
sdk: ">=2.14.0 <3.0.0"

0 commit comments

Comments
 (0)