getOffsetToAncestor method
      
Offset
getOffsetToAncestor(
    
    
- Offset point,
- RenderObject ancestor, {
- bool excludeScrollOffset = false,
Implementation
Offset getOffsetToAncestor(Offset point, RenderObject ancestor, {bool excludeScrollOffset = false}) {
  return getLayoutTransformTo(this, ancestor, excludeScrollOffset: excludeScrollOffset) + point;
}