AvatarView constructor
const
AvatarView({
- Key? key,
- AvatarViewController? controller,
- int? flex,
- double? dimensionRatio,
- bool? activated,
- bool? enabled,
- bool? visibility,
- double? margin,
- double? marginHorizontal,
- double? marginVertical,
- double? marginTop,
- double? marginBottom,
- double? marginStart,
- double? marginEnd,
- double? borderSize,
- double? borderRadius,
- Color? background,
- Color? foreground,
- Color? borderColor,
- Alignment? gravity,
- Alignment? transformGravity,
- BlendMode? backgroundBlendMode,
- BlendMode? foregroundBlendMode,
- DecorationImage? backgroundImage,
- DecorationImage? foregroundImage,
- Gradient? backgroundGradient,
- Gradient? foregroundGradient,
- Gradient? borderGradient,
- Matrix4? transform,
- OnViewClickListener? onClick,
- OnViewNotifyListener<
AvatarViewController> ? onClickHandle, - OnViewClickListener? onDoubleClick,
- OnViewNotifyListener<
AvatarViewController> ? onDoubleClickHandle, - OnViewClickListener? onLongClick,
- OnViewNotifyListener<
AvatarViewController> ? onLongClickHandle, - String? url,
- dynamic placeholder,
- double? size,
- bool? cacheMode,
- bool? circular,
- BoxFit? scaleType,
- bool? borderOverlay,
- Color? borderOverlayColor,
- double? borderOverlaySize,
Implementation
const AvatarView({
super.key,
super.controller,
super.flex,
super.dimensionRatio,
super.activated,
super.enabled,
super.visibility,
super.margin,
super.marginHorizontal,
super.marginVertical,
super.marginTop,
super.marginBottom,
super.marginStart,
super.marginEnd,
super.borderSize,
super.borderRadius,
super.background,
super.foreground,
super.borderColor,
super.gravity,
super.transformGravity,
super.backgroundBlendMode,
super.foregroundBlendMode,
super.backgroundImage,
super.foregroundImage,
super.backgroundGradient,
super.foregroundGradient,
super.borderGradient,
super.transform,
super.onClick,
super.onClickHandle,
super.onDoubleClick,
super.onDoubleClickHandle,
super.onLongClick,
super.onLongClickHandle,
this.url,
this.placeholder,
this.size,
this.cacheMode,
this.circular,
this.scaleType,
this.borderOverlay,
this.borderOverlayColor,
this.borderOverlaySize,
});