EffectsSdkImage class

Container for image data used by the effects SDK.

Constructors

EffectsSdkImage.fromEncoded(Uint8List encoded)
Creates image from encoded bytes.
EffectsSdkImage.fromPath(String filepath)
Creates image from a local file path.
EffectsSdkImage.fromRaw({required Uint8List data, required RawImageFormat format, required int width, required int height, int bytesPerRow = 0})
Creates image from raw pixel data.
EffectsSdkImage.fromRGB({required double r, required double g, required double b})
Creates solid color image from RGB values.
EffectsSdkImage.fromURL(String url)
Creates Image that will be loaded from URL. (Currently only for the web platform)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → ImageSource
The source of the image data. Private, do not use it directly.
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