YImageCorner function
加载图像(圆角)
Implementation
Widget YImageCorner(double? width, double? height, String url, double corner, {BoxFit fit = BoxFit.cover, String? imagePlaceHolder}) {
return ClipRRect(borderRadius: BorderRadius.all(Radius.circular(corner)), child: YImage(width, height, url, fit: fit, imagePlaceHolder: imagePlaceHolder));
}