correct typo in docs
This commit is contained in:
parent
5a5052001a
commit
366b4c361c
@ -47,10 +47,10 @@ Add the following property to your *AndroidManifest.xml*, located in ```<project
|
|||||||
* Listing albums in the gallery
|
* Listing albums in the gallery
|
||||||
```dart
|
```dart
|
||||||
final List<Album> imageAlbums = await PhotoGallery.listAlbums(
|
final List<Album> imageAlbums = await PhotoGallery.listAlbums(
|
||||||
mediumType: mediumType.image,
|
mediumType: MediumType.image,
|
||||||
);
|
);
|
||||||
final List<Album> videoAlbums = await PhotoGallery.listAlbums(
|
final List<Album> videoAlbums = await PhotoGallery.listAlbums(
|
||||||
mediumType: mediumType.video,
|
mediumType: MediumType.video,
|
||||||
hideIfEmpty: false
|
hideIfEmpty: false
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
@ -81,7 +81,7 @@ if (!imagePage.isLast) {
|
|||||||
```dart
|
```dart
|
||||||
final Medium medium = await PhotoGallery.getMedium(
|
final Medium medium = await PhotoGallery.getMedium(
|
||||||
mediumId: "10",
|
mediumId: "10",
|
||||||
MediumType: MediumType.image
|
mediumType: MediumType.image
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
* Getting a file
|
* Getting a file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user