ExAvatarView constructor

const ExAvatarView({
  1. required String source,
  2. Key? key,
  3. Map<String, String>? header,
  4. String? package,
  5. String? name,
  6. double? height = 70,
  7. double? width = 70,
  8. double? size,
  9. Color? borderColor,
  10. double borderWidth = 1,
  11. double? textSize = 14,
  12. Color? textColor,
  13. Color? bgColor,
  14. ColorFilter? colorFilter,
  15. Color? pngColor,
  16. Widget? errorWidget,
  17. BoxFit? boxFit,
})

Implementation

const ExAvatarView({
  /// url or assets
  required this.source,
  super.key,
  this.header,
  this.package,
  this.name,
  this.height = 70,
  this.width = 70,
  this.size,
  this.borderColor,
  this.borderWidth = 1,
  this.textSize = 14,
  this.textColor,
  this.bgColor,
  this.colorFilter,
  this.pngColor,
  this.errorWidget,
  this.boxFit,
});