ImageSource class abstract

Used to describe the source of an image.

Implementers

Constructors

ImageSource()
Used to describe the source of an image.
const
ImageSource.file(File file)
Used to describe the file image.
factory
ImageSource.memory(Uint8List uint8list)
Used to describe the memory image.
factory
ImageSource.path(String path)
Used to describe the file image.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
memory Uint8List
The image data as Uint8List.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Convert current instance to Map.
toString() String
A string representation of this object.
inherited

Operators

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