BindElementToMouse constructor

const BindElementToMouse({
  1. Key? key,
  2. LayoutDelegateSceneElement<PositionLayoutDelegate>? element,
  3. required Widget child,
})

Creates a Widget which binds the position of a SceneElement to the hover position of the mouse.

Implementation

const BindElementToMouse({
  Key? key,
  this.element,
  required this.child,
}) : super(key: key);