Skip to content

Commit

Permalink
WIP print-debug layout
Browse files Browse the repository at this point in the history
  • Loading branch information
gnprice committed Feb 1, 2025
1 parent c57d5d1 commit fe0857a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/widgets/sticky_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,9 @@ class _RenderSliverStickyHeaderList extends RenderSliver with RenderSliverHelper
child!.layout(constraints, parentUsesSize: true);
SliverGeometry geometry = child!.geometry!;

print('constraints: $constraints');
print('child geometry: $geometry');

if (geometry.scrollOffsetCorrection != null) {
this.geometry = geometry;
return;
Expand Down Expand Up @@ -692,6 +695,7 @@ class _RenderSliverStickyHeaderList extends RenderSliver with RenderSliverHelper
constraints.axis.coordinateDirection, headerOffset);
}

print('final geometry: $geometry');
this.geometry = geometry;
}

Expand Down

0 comments on commit fe0857a

Please sign in to comment.