blurHash static method

OctoErrorBuilder blurHash(
  1. String hash, {
  2. BoxFit? fit,
  3. Text? message,
  4. IconData? icon,
  5. Color? iconColor,
  6. double? iconSize,
})

Show OctoPlaceholder.blurHash with an error icon on top. Error icon can be modified along with its size and color. By default icon color will be the value given by the current IconTheme.

Implementation

static OctoErrorBuilder blurHash(
  String hash, {
  BoxFit? fit,
  Text? message,
  IconData? icon,
  Color? iconColor,
  double? iconSize,
}) {
  return placeholderWithErrorIcon(
    OctoPlaceholder.blurHash(hash, fit: fit),
    message: message,
    icon: icon,
    iconColor: iconColor,
    iconSize: iconSize,
  );
}