getOffsetX method

double getOffsetX()
inherited

Implementation

double getOffsetX() {
  double offset = 0;
  RenderBoxModel selfRenderBoxModel = renderBoxModel!;
  if (selfRenderBoxModel.attached) {
    Offset relative = getOffset(selfRenderBoxModel);
    offset += relative.dx;
  }
  return offset;
}