PickerController class
Methods
-
addListener(VoidCallback listener)
→ void
-
Register a closure to be called when the object changes.
inherited
-
clearAll()
→ void
-
Clear every asset
-
clearAssetEntity(AssetEntity asset)
→ void
-
Clears an indivudal asset
-
closeCustomPicker()
→ void
-
Close the custom picker (specified by user)
-
closeGiphyPicker()
→ void
-
Close the giphy picker
-
closeImagePicker()
→ void
-
Close the image picker
-
closePicker()
→ void
-
-
dispose()
→ void
-
Discards any resources used by the object.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Call all the registered listeners.
inherited
-
openCustomPicker(bool? overrideLock)
→ void
-
Open the custom picker (specified by user)
-
openGiphyPicker(bool? overrideLock)
→ void
-
Open the giphy picker
-
openImagePicker({DurationConstraint duration = const DurationConstraint(max: Duration(minutes: 1)), List<AssetEntity> selectedAssets = const [], int imageCount = 5, bool onlyPhotos = false, bool? overrideLock})
→ void
-
-
openPicker({PickerType? index, List<AssetEntity>? selectedAssets, String? gif, DurationConstraint? duration, int? imageCount, bool? onlyPhotos, bool? overrideLock})
→ void
-
Initially open picker
-
removeListener(VoidCallback listener)
→ void
-
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
snap(PickerExpansion extent)
→ void
-
Snaps the current sheet controller to an extent
Picker must be open to an index
-
toString()
→ String
-
A string representation of this object.
inherited