menu
fast_blurhash package
documentation
fast_blurhash.dart
fast_blurhash.dart
dark_mode
light_mode
fast_blurhash
library
Functions
decodeBlurhash
(
{
required
String
blurhashString
,
int
height
=
32
,
int
width
=
32
,
double
punch
=
1.0
,
bool
enableCache
=
true
})
→
Uint8List
Decodes a BlurHash string into image data.
decodeBlurhashIsolate
(
{
required
String
blurhashString
,
int
height
=
32
,
int
width
=
32
,
double
punch
=
1.0
,
bool
enableCache
=
true
})
→
Future
<
Uint8List
>
Runs the decodeBlurhash function in a separate isolate. Parameters are the same as decodeBlurhash.
setup
(
)
→ void
This function serves as a warm-up for the decodeBlurhash function. The initial call to decodeBlurhash can be slow, so this function should be called anywhere in the code before using decodeBlurhash to improve performance.
fast_blurhash package
documentation
fast_blurhash.dart
fast_blurhash
package
Libraries
fast_blurhash
fast_blurhash library