contentInset property
Offset
get
contentInset
Offset from the window's outer frame to its content area (title bar and left border), in logical pixels.
WindowDragSession anchors on the frame while Flutter reports positions
inside the content, so an anchor derived from a pointer position needs
this added.
Implementation
Offset get contentInset => contentBounds.topLeft - bounds.topLeft;