HoverWidget constructor

const HoverWidget({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. bool isHovered
    ),
  3. Duration hoverDuration = const Duration(milliseconds: 1200),
})

Implementation

const HoverWidget(
    {Key? key,
    required this.builder,
    this.hoverDuration = const Duration(milliseconds: 1200)})
    : super(key: key);