GetImage constructor

const GetImage({
  1. Key? key,
  2. String? imagePath,
  3. double width = Siz.profileImageSize,
  4. double height = Siz.profileImageSize,
  5. BoxFit fit = BoxFit.cover,
  6. double? radius,
  7. bool isAssets = false,
  8. Color? imageColor,
  9. BorderRadius? borderRadius,
  10. Color? loadingColor,
  11. GestureTapCallback? onTap,
})

Implementation

const GetImage(
    {super.key,
    this.imagePath,
    this.width = Siz.profileImageSize,
    this.height = Siz.profileImageSize,
    this.fit = BoxFit.cover,
    this.radius,
    this.isAssets = false,
    this.imageColor,
    this.borderRadius,
    this.loadingColor,
    this.onTap});