OnHover constructor

const OnHover({
  1. Key? key,
  2. required void action(
    1. bool hovering
    ),
  3. required Widget child,
})

Implementation

const OnHover({super.key, required this.action, required this.child});