errorWidget property

Widget get errorWidget

错误图片

Implementation

Widget get errorWidget => (this.errorImgPath == null)
    ? this.defalutWidget
    : Image.asset(this.errorImgPath!, package: this.packageName);