getChildOffset method

EdgeInsets getChildOffset()

Implementation

EdgeInsets getChildOffset() {
  switch (arrowDirection) {
    case ArrowDirection.left:
      return EdgeInsets.only(left: arrowSize);
    case ArrowDirection.right:
      return EdgeInsets.only(right: arrowSize);
    case ArrowDirection.top:
      return EdgeInsets.only(top: arrowSize);
    case ArrowDirection.bottom:
      return EdgeInsets.only(bottom: arrowSize);
  }
}