HoverCard constructor

const HoverCard({
  1. required String image,
  2. double width = 100,
  3. double expandedWidth = 200,
  4. double height = 200,
  5. int duration = 300,
  6. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
  7. Curve curve = Curves.easeInOutCubic,
  8. Curve reverseCurve = Curves.easeInOutCirc,
  9. EdgeInsetsGeometry margin = const EdgeInsets.all(4),
  10. bool isAssetImage = true,
  11. BoxFit fit = BoxFit.cover,
  12. void onTap()?,
  13. Key? key,
})

Implementation

const HoverCard({
  required this.image,
  this.width = 100,
  this.expandedWidth = 200,
  this.height = 200,
  this.duration = 300,
  this.borderRadius = const BorderRadius.all(Radius.circular(8)),
  this.curve = Curves.easeInOutCubic,
  this.reverseCurve = Curves.easeInOutCirc,
  this.margin = const EdgeInsets.all(4),
  this.isAssetImage = true,
  this.fit = BoxFit.cover,
  this.onTap,
  Key? key,
}) : super(key: key);