This repository was archived by the owner on Oct 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 531
Refactor visibility_detector to avoid forcing compositing. #367
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6688c84
Refactor visibility_detector to avoid forcing compositing.
dnfield a81e311
Delay visibility determination
dnfield 7d21eaa
fixes
dnfield 4abf7ca
pub/changelog
dnfield c45a66a
merge
dnfield 9cbdb1b
..
dnfield d002ed3
EXPANDO!
dnfield 13c3bde
one more
dnfield b5e43fd
more tests, remove caching
dnfield 88f2b70
update to match landed API
dnfield d88c017
Fix ordering of clip transform, add test
dnfield 9ac9fbe
Update packages/visibility_detector/lib/src/render_visibility_detecto…
dnfield eeb4d13
goderbauer review
dnfield 4491555
Merge branch 'ro' of github.com:dnfield/flutter.widgets into ro
dnfield 76f825b
remove screenRect, fix initialization bug
dnfield af74e16
more
dnfield 1ba8777
CI
dnfield 1058986
Revert "CI"
dnfield 16f1ee1
format
dnfield File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update to match landed API
- Loading branch information
commit 88f2b70028c0b8b92f5545102300d151af801b9d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like paint here and in RenderSliverVisibilityDetector have a lot in common, the inly difference is the second argument passed to _scheduleUpdate? Maybe move paint to the base and have this class and RenderSliverVisibilityDetector implement just a method that returns the value for that second argument?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, as mentioned elsehwere moved this to a
Rect get bounds;on the mixin, which simplified things a bit.