GalleryMediaPickerController class

Inheritance
Mixed in types

Properties

assetCount → dynamic
no setter
assetCountNotifier ValueNotifier<int>
final
currentAlbum ↔ AssetPathEntity?
getter/setter pairinherited
currentAlbumNotifier ValueNotifier<AssetPathEntity?>
current gallery album
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
max int
getter/setter pair
maxNotifier ValueNotifier<int>
Notification when max is modified.
final
onPickMax ChangeNotifier
final
pathList List<AssetPathEntity>
save path in list
getter/setter pairinherited
pathListNotifier ValueNotifier<List<AssetPathEntity>>
finalinherited
picked List<AssetEntity>
getter/setter pair
pickedFile List<PickedAssetModel>
getter/setter pair
pickedFileNotifier ValueNotifier<List<PickedAssetModel>>
metadata map
final
pickedNotifier ValueNotifier<List<AssetEntity>>
pick asset entity notify changes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singlePickMode bool
In single-select mode, when you click an unselected item, the old one is automatically cleared and the new one is selected.
getter/setter pair

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
pickEntity(AssetEntity entity) → void
pickIndex(AssetEntity entity) int
picked path index
pickPath(PickedAssetModel path) → void
removeEntity(AssetEntity entity) → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
resetPathList(List<AssetPathEntity> list, {int defaultIndex = 0, int sortBy(AssetPathEntity a, AssetPathEntity b) = _defaultSort}) → void
add assets to a list
inherited
setAssetCount() → dynamic
toString() String
A string representation of this object.
inherited
unPick(int index) → void

Operators

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