HoverCard constructor

const HoverCard({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. bool isHovered
    ),
  3. GestureTapCallback? onTap,
  4. double? depth = 0,
  5. Color? depthColor = const Color(0xFF424242),
  6. BoxShadow? shadow = const BoxShadow(offset: Offset(0, 60), color: Color.fromARGB(120, 0, 0, 0), blurRadius: 22, spreadRadius: -20),
})

Implementation

const HoverCard({
  Key? key,
  required this.builder,
  this.onTap,
  this.depth = 0,
  this.depthColor = const Color(0xFF424242),
  this.shadow = const BoxShadow(
    offset: Offset(0, 60),
    color: Color.fromARGB(120, 0, 0, 0),
    blurRadius: 22,
    spreadRadius: -20,
  ),
}) : super(key: key);