getHeaderTileStuckOffset method
Implementation
double getHeaderTileStuckOffset() {
final scrollableContent = _scrollable.context.findRenderObject()!;
if (scrollableContent.attached) {
try {
return localToGlobal(Offset.zero, ancestor: scrollableContent).dy;
// ignore: avoid_catches_without_on_clauses
} catch (e) {
print(e);
}
}
return 0;
}