buildBlurHashBackground method

Widget buildBlurHashBackground()

Decode the blurhash then display the resulting Image

Implementation

Widget buildBlurHashBackground() => FutureBuilder<ui.Image>(
      future: _image,
      builder: (ctx, snap) => snap.hasData
          ? Image(image: UiImage(snap.data!), fit: widget.imageFit)
          : Container(color: widget.color),
    );