CircularProfileAvatar constructor
const
CircularProfileAvatar({
- required String imageUrl,
- Key? key,
- Text initialsText = const Text(''),
- bool cacheImage = true,
- double radius = 50.0,
- double borderWidth = 0.0,
- Color borderColor = Colors.white,
- Color backgroundColor = Colors.white,
- double elevation = 0.0,
- bool showInitialTextAbovePicture = false,
- GestureTapCallback? onTap,
- Color foregroundColor = Colors.transparent,
- PlaceholderWidgetBuilder? placeHolder,
- LoadingErrorWidgetBuilder? errorWidget,
- ImageWidgetBuilder? imageBuilder,
- bool? animateFromOldImageOnUrlChange,
- ProgressIndicatorBuilder? progressIndicatorBuilder,
- Widget? child,
- BoxFit imageFit = BoxFit.cover,
- Map<
String, String> ? httpHeaders,
Implementation
const CircularProfileAvatar({
required this.imageUrl,
super.key,
this.initialsText = const Text(''),
this.cacheImage = true,
this.radius = 50.0,
this.borderWidth = 0.0,
this.borderColor = Colors.white,
this.backgroundColor = Colors.white,
this.elevation = 0.0,
this.showInitialTextAbovePicture = false,
this.onTap,
this.foregroundColor = Colors.transparent,
this.placeHolder,
this.errorWidget,
this.imageBuilder,
this.animateFromOldImageOnUrlChange,
this.progressIndicatorBuilder,
this.child,
this.imageFit = BoxFit.cover,
this.httpHeaders,
});