XAssetThumbnail class

Cell-sized thumbnail bytes ready for Image.memory. Backed by PHCachingImageManager on Apple and MediaStore.Thumbnails on Android.

Constructors

XAssetThumbnail({required Uint8List bytes, required int width, required int height})
Binds decoded thumbnail bytes to the size they decode at.
const

Properties

bytes → Uint8List
Encoded image bytes.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
Pixel height of the thumbnail.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
Pixel width of the thumbnail.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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