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
- icon → IconData
-
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
- setType ← AlbumType
-
no getter
-
thumbnail
↔ List<
int> ? -
getter/setter pair
- type ↔ AlbumType
-
getter/setter pair
Methods
-
addFile(
MediaFile file, {Locale? locale}) → void -
daysBetween(
DateTime from) → int -
getDateCategory(
MediaFile media, {Locale? locale}) → String -
initialize(
{Locale? locale}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sort(
) → dynamic -
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>