ImageWidget.avatar constructor
const
ImageWidget.avatar(})
Implementation
const ImageWidget.avatar(
this.source, {
Key? key,
this.fit = BoxFit.cover,
this.width = 40,
this.height = 40,
this.usePlaceHolder = true,
this.color,
this.borderRadius = 10,
this.package,
this.cacheWidth,
this.cacheHeight,
this.aspectRatio = 2.0,
this.useFadeInAnimation = true,
this.errorWidget,
}) : super(key: key);