HoverZoomImage constructor

const HoverZoomImage({
  1. Key? key,
  2. required ImageProvider<Object> imageProvider,
  3. double width = 550,
  4. double height = 700,
  5. double zoomScale = 2.0,
  6. Duration animationDuration = const Duration(milliseconds: 150),
  7. Decoration? decoration,
})

Creates a HoverZoomImage widget.

Implementation

const HoverZoomImage({
  super.key,
  required this.imageProvider,
  this.width = 550,
  this.height = 700,
  this.zoomScale = 2.0,
  this.animationDuration = const Duration(milliseconds: 150),
  this.decoration,
});