-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[two_dimensional_scrollables] Merged cells for TableView #5917
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
161bfd8
Need to account for decorations.
Piinks 7245dcd
Rows work with resolution for decorations, example app needs to be re…
Piinks 0d461c7
Stop before rework
Piinks 3dd9658
Got it. Need clean up and tests
Piinks 4960a25
Optimize build calls
Piinks dd9f4c3
++
Piinks ab812f7
++
Piinks 629eb7f
Update docs
Piinks bd84020
Found bug, ugh
Piinks 9e9abaa
Fixed it
Piinks ae22375
Found deco bug, stop to figure
Piinks 5993e7d
++
Piinks b8fbc86
Fisnished tests
Piinks 923ea8b
Clean up records in _paintCells
Piinks 693db59
++
Piinks f88dd70
Finish self review
Piinks 03838f1
Update packages/two_dimensional_scrollables/lib/src/table_view/table_…
Piinks 6a3f661
Review feedback
Piinks 0aba463
Merge branch 'main' of github.com:flutter/packages into mergedTableCells
Piinks fab93be
Review feedback, clean up example error
Piinks c51bab9
Analyzer therapy
Piinks ac28304
Feedback
Piinks 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
There are no files selected for viewing
This file contains 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
This file contains 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
539 changes: 455 additions & 84 deletions
539
packages/two_dimensional_scrollables/lib/src/table_view/table.dart
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
I didn't notice this before: Is this intentional that
null
is no longer allowed as a return value? If so, the doc above needs updating. (Remind me: what did it mean when this was previously returning null? What are we no longer allowing?)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.
This felt like a bug I came across. Typically in Flutter scrolling land, returning null from the child delegate means we have reached the end of the children. This is not currently supported, but is part of supporting infinite children in the table: flutter/flutter#131226.
I think it was here by mistake since if you return null currently, with or without this change, it will crash! :(