BlurhashWeb class
A web implementation of the BlurHashPlatform of the BlurHash plugin.
- Inheritance
-
- Object
- PlatformInterface
- BlurHashPlatform
- BlurhashWeb
Constructors
- BlurhashWeb()
- Constructs a BlurhashWeb
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
-
decode(
String blurHash, int width, int height, {double punch = 1.0, bool useCache = true}) → Future< Uint8List?> -
override
-
encode(
Uint8List image, int componentX, int componentY) → Future< String> -
override
-
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
-
registerWith(
Registrar registrar) → void