circleAvatar method
CircleAvatar
circleAvatar({
- Color? backgroundColor = Colors.transparent,
- double radius = 30.0,
- ImageErrorListener? onBackgroundImageError,
- ImageErrorListener? onForegroundImageError,
- Color? foregroundColor,
- double? minRadius,
- double? maxRadius,
Create a circle avatar.
Implementation
CircleAvatar circleAvatar({
Color? backgroundColor = Colors.transparent,
double radius = 30.0,
ImageErrorListener? onBackgroundImageError,
ImageErrorListener? onForegroundImageError,
Color? foregroundColor,
double? minRadius,
double? maxRadius,
}) {
return CircleAvatar(
radius: radius,
backgroundImage: image,
backgroundColor: Colors.transparent,
onBackgroundImageError: onBackgroundImageError,
onForegroundImageError: onForegroundImageError,
foregroundColor: foregroundColor,
minRadius: minRadius,
maxRadius: maxRadius,
);
}