MiniProgramGalleryManager class

Owns selection identity, cancellation, validation, and temporary media.

Constructors

MiniProgramGalleryManager(MiniProgramGalleryProvider provider, {required MiniProgramMediaManager mediaManager})

Properties

hashCode → int
The hash code for this object.
no setterinherited
mediaManager → MiniProgramMediaManager
final
provider → MiniProgramGalleryProvider
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelFor(String miniProgramId) → Future<bool>
dispose() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickImages({required String miniProgramId, required MiniProgramGalleryPolicy policy, int maxImages = 1, int maxWidth = 2048, int maxHeight = 2048, int quality = 90}) → Future<MiniProgramGalleryResult>
releaseAllFor(String miniProgramId) → Future<void>
releaseSelection(String miniProgramId, MiniProgramGalleryResult result) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited