PhotoGallery class
Accessing the native photo gallery.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
cleanCache(
) → Future< void> -
getAlbumThumbnail(
{required String albumId, MediumType? mediumType, int? width, int? height, bool? highQuality = false}) → Future< List< int> ?> - Get album thumbnail by album id
-
getFile(
{required String mediumId, MediumType? mediumType, String? mimeType}) → Future< File> - get medium file by medium id
-
getMedium(
{required String mediumId, MediumType? mediumType}) → Future< Medium> - Get medium metadata by medium id
-
getThumbnail(
{required String mediumId, MediumType? mediumType, int? width, int? height, bool? highQuality = false}) → Future< List< int> > - Get medium thumbnail by medium id
-
listAlbums(
{required MediumType mediumType, bool? hideIfEmpty = true}) → Future< List< Album> > - List all available gallery albums and counts number of items of MediumType.