xCircleAssetImage method
Implementation
Widget xCircleAssetImage({
Color backgroundColor,
Widget child,
Color foregroundColor,
Key key,
double maxRadius,
double minRadius,
double radius,
}) {
return CircleAvatar(
backgroundColor: backgroundColor,
foregroundColor: foregroundColor,
key: key,
maxRadius: maxRadius,
minRadius: minRadius,
radius: radius,
backgroundImage: AssetImage(this),
child: child,
);
}