BlurhashBackground constructor

const BlurhashBackground({
  1. Key? key,
  2. required Future<Image> image,
  3. Color? color = Colors.blueGrey,
  4. BoxFit? fit = BoxFit.cover,
  5. ImageErrorWidgetBuilder? errorBuilder,
})

Implementation

const BlurhashBackground({
  super.key,
  required Future<ui.Image> image,
  this.color = Colors.blueGrey,
  this.fit = BoxFit.cover,
  this.errorBuilder,
}) : _image = image;