discontinuedPackage androssy_widgets has been discontinued.

AvatarView constructor

const AvatarView({
  1. Key? key,
  2. AvatarViewController? controller,
  3. int? flex,
  4. double? dimensionRatio,
  5. bool? activated,
  6. bool? enabled,
  7. bool? visibility,
  8. double? margin,
  9. double? marginHorizontal,
  10. double? marginVertical,
  11. double? marginTop,
  12. double? marginBottom,
  13. double? marginStart,
  14. double? marginEnd,
  15. double? borderSize,
  16. double? borderRadius,
  17. Color? background,
  18. Color? foreground,
  19. Color? borderColor,
  20. Alignment? gravity,
  21. Alignment? transformGravity,
  22. BlendMode? backgroundBlendMode,
  23. BlendMode? foregroundBlendMode,
  24. DecorationImage? backgroundImage,
  25. DecorationImage? foregroundImage,
  26. Gradient? backgroundGradient,
  27. Gradient? foregroundGradient,
  28. Gradient? borderGradient,
  29. Matrix4? transform,
  30. OnViewClickListener? onClick,
  31. OnViewNotifyListener<AvatarViewController>? onClickHandle,
  32. OnViewClickListener? onDoubleClick,
  33. OnViewNotifyListener<AvatarViewController>? onDoubleClickHandle,
  34. OnViewClickListener? onLongClick,
  35. OnViewNotifyListener<AvatarViewController>? onLongClickHandle,
  36. String? url,
  37. dynamic placeholder,
  38. double? size,
  39. bool? cacheMode,
  40. bool? circular,
  41. BoxFit? scaleType,
  42. bool? borderOverlay,
  43. Color? borderOverlayColor,
  44. 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,
});