HoverBuilder constructor

const HoverBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. bool isHovering
    ),
  3. MouseCursor cursor = kDefaultHoverCursor,
  4. VoidCallback? onTap,
})

A builder to adapt to the widget being hoverd or not.

Implementation

const HoverBuilder({
  super.key,
  required this.builder,
  super.cursor = kDefaultHoverCursor,
  super.onTap,
});