getCommonAvatarBuilder static method
Widget
getCommonAvatarBuilder({
- required TencentCloudChatAvatarScene scene,
- double? width,
- double? height,
- double? borderRadius,
- required List<
String?> imageList, - Decoration? decoration,
Implementation
static Widget getCommonAvatarBuilder({
required TencentCloudChatAvatarScene scene,
double? width,
double? height,
double? borderRadius,
required List<String?> imageList,
Decoration? decoration,
}) {
Widget? widget;
if (_commonAvatarBuilder != null) {
widget = _commonAvatarBuilder!(
scene: scene,
width: width,
height: height,
borderRadius: borderRadius,
imageList: imageList,
decoration: decoration,
);
}
return widget ??
TencentCloudChatAvatar(
scene: scene,
width: width,
height: height,
borderRadius: borderRadius,
imageList: imageList,
decoration: decoration,
);
}