GalleryController class
- Inheritance
-
- Object
- ChangeNotifier
- ValueNotifier<
GalleryValue> - GalleryController
Constructors
- GalleryController({PanelSetting? panelSetting, HeaderSetting? headerSetting, GallerySetting? gallerySetting})
Properties
-
albumNotifier
→ ValueNotifier<
AlbumType> -
final
-
albumsNotifier
→ ValueNotifier<
AlbumsType> -
final
-
albumVisibility
→ ValueNotifier<
bool> -
final
-
cachedInitList
↔ List<
MediaEntity> -
getter/setter pair
-
entitiesNotifier
→ ValueNotifier<
EntitiesType> -
final
- fullScreenMode → bool
-
no setter
-
galleryState
→ ValueNotifier<
GalleryState> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- headerSetting → HeaderSetting
-
final
- internal ↔ bool
-
getter/setter pair
- isShowPanel → bool
-
no setter
- panelController → PanelController
-
final
- panelSetting → PanelSetting
-
final
- reachedMaximumLimit → bool
-
no setter
-
recentEntities
→ List<
AssetEntity> ? -
no setter
- repository ↔ GalleryRepository
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setting ↔ GallerySetting
-
latefinal
- singleSelection → bool
-
no setter
- value ↔ GalleryValue
-
The current value stored in this notifier.
getter/setter pairinherited-getteroverride-setter
-
wrapperKey
→ GlobalKey<
State< StatefulWidget> > -
final
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
clearSelection(
[List< MediaEntity> ? list]) → void -
close(
[BuildContext? context]) → void -
closePanel(
) → void -
completeTask(
BuildContext context) → void -
completeTaskSingleSelection(
BuildContext context, List< MediaEntity> selectedEntities) → void -
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).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
openCamera(
BuildContext context) → Future< void> -
openGallery(
void onChanged(MediaEntity entity, bool removed)?, void onSubmitted(List< MediaEntity> entities)?, List<MediaEntity> ? selectedEntities, BuildContext context) → void -
openPlayground(
BuildContext context, MediaEntity entity) → Future< void> -
pick(
BuildContext context, {List< MediaEntity> ? selectedEntities}) → Future<List< MediaEntity> > -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
select(
MediaEntity entity, BuildContext context) → void -
setAlbumVisibility(
bool visible) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited