HoverCard constructor
const
HoverCard({
- Key? key,
- required Widget builder(
- BuildContext context,
- bool isHovered
- GestureTapCallback? onTap,
- double? depth = 0,
- Color? depthColor = const Color(0xFF424242),
- 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);