profile static method
Creates a profile image with default styling.
Uses a circular shape with a profile placeholder.
Implementation
static TImage profile({
String? url,
String? name,
String? role,
double size = 42,
double padding = 5,
bool forceCache = false,
}) {
return TImage.circle(
url: url,
placeholder: 'package:te_widgets/assets/icons/profile.png',
title: name,
subTitle: role,
size: size,
padding: padding,
disabled: true,
forceCache: forceCache,
);
}