EyeDrop constructor

EyeDrop({
  1. required Widget child,
  2. Key? key,
})

Implementation

EyeDrop({required Widget child, Key? key})
    : super(
        key: key,
        child: RepaintBoundary(
          key: captureKey,
          child: Listener(
            onPointerMove: (details) => _onHover(
              details.position,
              details.kind == PointerDeviceKind.touch,
            ),
            onPointerHover: (details) => _onHover(
              details.position,
              details.kind == PointerDeviceKind.touch,
            ),
            onPointerUp: (details) => _onPointerUp(details.position),
            child: child,
          ),
        ),
      );