ImagePlaceholderView constructor
const
ImagePlaceholderView({
- Key? key,
- bool isError = false,
- ImageStyle style = const ImageStyle(),
- String? blurHash,
Creates an ImagePlaceholderView widget.
Either blurHash
or thumbHash
can be provided to generate a placeholder.
If isError
is true, the placeholder will be shown with reduced opacity
and a warning icon will be displayed.
Implementation
const ImagePlaceholderView(
{super.key,
this.isError = false,
this.style = const ImageStyle(),
this.blurHash});