WidgetAvatar.withoutBorder constructor

const WidgetAvatar.withoutBorder({
  1. Key? key,
  2. required String? imageUrl,
  3. required double radius,
  4. Widget placeholderBuilder()?,
  5. dynamic onTap()?,
  6. String? errorAsset,
})

Implementation

const WidgetAvatar.withoutBorder({
  Key? key,
  required this.imageUrl,
  required double radius,
  this.placeholderBuilder,
  this.onTap,
  this.errorAsset,
})  : isWithoutBorder = true,
      radius1 = radius,
      radius2 = radius,
      radius3 = radius,
      borderColor = Colors.transparent,
      backgroundColor = Colors.transparent,
      super(key: key);