offsetLeft property
int
get
offsetLeft
Implementation
int get offsetLeft {
int offset = 0;
if (!isRendererAttached) {
return offset;
}
RenderBoxModel selfRenderBoxModel = renderBoxModel!;
if (selfRenderBoxModel.attached) {
Offset relative = _getOffset(selfRenderBoxModel, ancestor: offsetParent);
offset += relative.dx.toInt();
}
return offset;
}