ProfileImage constructor
ProfileImage({})
Implementation
ProfileImage({
Key? key,
required this.imageSource,
this.fallbackName,
this.radius,
this.textStyle,
this.backgroundColor,
this.placeholder,
}) : super(key: key) {
if (fallbackName == null && placeholder == null) {
throw ArgumentError(
'ProfileImage requires at least one fallback: either fallbackName or placeholder must be provided.',
);
}
}