BlurhashFFI class

Create a neat class to handle all the glue code and expose a nice API.

Constructors

BlurhashFFI()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isolateEntryPoint(SendPort sendPort) → void
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

Static Methods

decode(String blurhash, {int width = 32, int height = 32, int punch = 1}) Future<Image>
encode(ImageProvider<Object> imageProvider, {int componentX = 4, int componentY = 3}) Future<String>
free() → void
isValidBlurHash(String blurHash) bool