MemoryImage class
An ImageProvider that loads an image from raw bytes.
Image(image: MemoryImage(myPngBytes))
- Inheritance
-
- Object
- ImageProvider
- MemoryImage
Constructors
- MemoryImage(Uint8List bytes)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → Future< ImageData> -
Resolves and returns the image data.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited