Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anchors 2/n: Fix three sticky-header bugs #1312

Merged
merged 13 commits into from
Feb 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sticky_header test [nfc]: Cut a commented-out debug print
gnprice committed Feb 7, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7814138e252b4d9d7152cf3897fffb5844fa8e1e
1 change: 0 additions & 1 deletion test/widgets/sticky_header_test.dart
Original file line number Diff line number Diff line change
@@ -174,7 +174,6 @@ Future<void> _checkSequence(
final expectedHeaderIndex = first
? (scrollOffset / 100).floor()
: (extent ~/ 100 - 1) + (scrollOffset / 100).ceil();
// print("$scrollOffset, $extent, $expectedHeaderIndex");
check(tester.widget<_Item>(itemFinder).index).equals(expectedHeaderIndex);
check(_headerIndex(tester)).equals(expectedHeaderIndex);