AppRectangleAvatar constructor

const AppRectangleAvatar({
  1. Key? key,
  2. String? imageSource,
  3. XFile? pickedFile,
  4. double? height,
  5. double? width,
  6. double radius = 12.0,
  7. IconData? placeholderIcon = Icons.image,
  8. Color? backgroundColor,
  9. BoxFit fit = BoxFit.cover,
})

Implementation

const AppRectangleAvatar({
  super.key,
  this.imageSource,
  this.pickedFile,
  this.height,
  this.width,
  this.radius = 12.0,
  this.placeholderIcon = Icons.image,
  this.backgroundColor,
  this.fit = BoxFit.cover,
});