discontinuedPackage androssy_widgets has been discontinued.

attach method

  1. @override
AvatarViewController attach(
  1. YMRView<ViewController> view, {
  2. String? url,
  3. dynamic placeholder,
  4. double? size,
  5. bool? cacheMode,
  6. bool? circular,
  7. BoxFit? scaleType,
  8. double? borderSize,
  9. double? borderPadding,
  10. bool? borderOverlay,
  11. Color? borderOverlayColor,
  12. double? borderOverlaySize,
})
override

Implementation

@override
AvatarViewController attach(
  YMRView<ViewController> view, {
  String? url,
  dynamic placeholder,
  double? size,
  bool? cacheMode,
  bool? circular,
  BoxFit? scaleType,
  double? borderSize,
  double? borderPadding,
  bool? borderOverlay,
  Color? borderOverlayColor,
  double? borderOverlaySize,
}) {
  super.attach(view);
  this.url = url ?? this.url;
  this.placeholder = placeholder ?? this.placeholder;
  this.size = size ?? this.size;
  this.cacheMode = cacheMode ?? this.cacheMode;
  this.circular = circular ?? this.circular;
  this.scaleType = scaleType ?? this.scaleType;
  this.borderSize = borderSize ?? this.borderSize;
  this.borderOverlay = borderOverlay ?? this.borderOverlay;
  this.borderOverlayColor = borderOverlayColor ?? this.borderOverlayColor;
  this.borderOverlaySize = borderOverlaySize ?? this.borderOverlaySize;
  return this;
}