CustomImage constructor

const CustomImage({
  1. Key? key,
  2. required String imageUrl,
  3. double height = 0,
  4. double width = 0,
  5. BoxFit fit = BoxFit.cover,
  6. String placeholder = '',
  7. BoxShape? boxShape,
})

Implementation

const CustomImage(
    {super.key,
    required this.imageUrl,
    this.height = 0,
    this.width = 0,
    this.fit = BoxFit.cover,
    this.placeholder = '',
    this.boxShape});