BoxHitTestEntry constructor

const BoxHitTestEntry(RenderBox target, Offset localPosition)

Creates a box hit test entry.

The localPosition argument must not be null.

Implementation

const BoxHitTestEntry(RenderBox target, this.localPosition)
    : assert(localPosition != null),
      super(target);