getDescendantOffset method
Implementation
Offset getDescendantOffset({
required RenderBox descendant,
Offset offset = Offset.zero,
}) {
final shimmerBox = context.findRenderObject()! as RenderBox;
return descendant.localToGlobal(offset, ancestor: shimmerBox);
}