YImageCircle2 function

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

Implementation

Widget YImageCircle2(double? width, double? height, String url, {BoxFit fit = BoxFit.cover, String? imagePlaceHolder}) {
  return ClipOval(child: YImage2(width, height, url, fit: fit, imagePlaceHolder: imagePlaceHolder));
}