useHover function

bool? useHover(
  1. GlobalNodeKey<Element> target, {
  2. bool enabled = true,
})

Returns whether the pointer hovers target, or null before attachment.

Implementation

bool? useHover(GlobalNodeKey<web.Element> target, {bool enabled = true}) {
  return use(_HoverHook(target, enabled));
}