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