getDescendantOffset method
Implementation
Offset getDescendantOffset({
required RenderBox descendant,
Offset offset = Offset.zero,
}) {
// print("getDescendantOffset ${context.findRenderObject()}");
///if ((context.findRenderObject() is RenderShaderMask)) {
///print("context.findRenderObject() ${context.findRenderObject()}");
final shimmerBox = context.findRenderObject() as RenderBox;
return descendant.localToGlobal(offset, ancestor: shimmerBox);
// }
//return offset;
}