getProfilePhotoButtonFromURL function

Widget getProfilePhotoButtonFromURL(
  1. AppModel app,
  2. BuildContext context, {
  3. String? url,
  4. required double radius,
  5. RgbModel? iconColor,
  6. VoidCallback? onPressed,
})

Implementation

Widget getProfilePhotoButtonFromURL(AppModel app, BuildContext context,
        {String? url,
        required double radius,
        RgbModel? iconColor,
        VoidCallback? onPressed}) =>
    StyleRegistry.registry()
        .styleWithApp(app)
        .frontEndStyle()
        .profilePhotoStyle()
        .getProfilePhotoButtonFromURL(app, context,
            url: url,
            radius: radius,
            iconColor: iconColor,
            onPressed: onPressed);