YImageCorner2 function

Widget YImageCorner2(
  1. double? width,
  2. double? height,
  3. String url,
  4. double corner, {
  5. BoxFit fit = BoxFit.cover,
  6. String? imagePlaceHolder,
})

Implementation

Widget YImageCorner2(double? width, double? height, String url, double corner, {BoxFit fit = BoxFit.cover, String? imagePlaceHolder}) {
  return ClipRRect(borderRadius: BorderRadius.all(Radius.circular(corner)), child: YImage2(width, height, url, fit: fit, imagePlaceHolder: imagePlaceHolder));
}