ImageCachedFullscreen constructor

const ImageCachedFullscreen({
  1. Key? key,
  2. required String imageUrl,
  3. double imageHeight = 50.0,
  4. double imageWidth = 50.0,
  5. double imageDetailsHeight = double.infinity,
  6. double imageDetailsWidth = double.infinity,
  7. BoxFit imageDetailsFit = BoxFit.fill,
  8. BoxFit? imageFit = BoxFit.fill,
  9. double imageBorderRadius = 0.0,
  10. Color appBarBackgroundColorDetails = Colors.transparent,
  11. Color backgroundColorDetails = Colors.black,
  12. Color iconBackButtonColor = Colors.white,
  13. bool hideBackButtonDetails = false,
  14. Widget? errorWidget,
  15. Widget? placeholder,
  16. required Widget placeholderDetails,
  17. bool hideAppBarDetails = false,
  18. bool withHeroAnimation = false,
})

Implementation

const ImageCachedFullscreen({
  Key? key,
  required this.imageUrl,
  this.imageHeight = 50.0,
  this.imageWidth = 50.0,
  this.imageDetailsHeight = double.infinity,
  this.imageDetailsWidth = double.infinity,
  this.imageDetailsFit = BoxFit.fill,
  this.imageFit = BoxFit.fill,
  this.imageBorderRadius = 0.0,
  this.appBarBackgroundColorDetails = Colors.transparent,
  this.backgroundColorDetails = Colors.black,
  this.iconBackButtonColor = Colors.white,
  this.hideBackButtonDetails = false,
  this.errorWidget,
  this.placeholder,
  required this.placeholderDetails,
  this.hideAppBarDetails = false,
  this.withHeroAnimation = false,
}) : super(key: key);