GalleryAlbum class

Constructors

GalleryAlbum({required Album album, required AlbumType type, List<int>? thumbnail, List<DateCategory> dateCategories = const []})
GalleryAlbum.album(Album album)

Properties

album ↔ Album
getter/setter pair
count int
no setter
dateCategories List<DateCategory>
getter/setter pair
files List<MediaFile>
no setter
hashCode int
The hash code for this object.
no setterinherited
hasLoadedAllMedia bool
no setter
hasPreview bool
no setter
icon IconData
no setter
isInitialized bool
no setter
isLoadingMore bool
no setter
lastDate DateTime?
no setter
medias List<MediaFile>
no setter
name String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryAlbum ↔ Album?
getter/setter pair
setType AlbumType
no getter
thumbnail List<int>?
getter/setter pair
type AlbumType
getter/setter pair

Methods

addEstimatedCount(int count) → void
addFile(MediaFile file, {Locale? locale}) → void
daysBetween(DateTime from) int
getDateCategory(MediaFile media, {Locale? locale}) String
initialize({Locale? locale, VoidCallback? onChanged, bool lightWeight = false}) Future<void>
loadPreview({VoidCallback? onChanged}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSecondaryAlbum(Album album) → void
sort() → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

sortAlbumMediaDates(List<Medium> mediumList) List<Medium>