-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth #64222
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
Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth #64222
Conversation
…ng, minLeadingWidth Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth.
|
More than half a year has passed... #47647 |
|
This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold.For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Sync offical flutter
# Conflicts: # packages/flutter/lib/src/material/list_tile.dart
Sync to Playhi/flutter from flutter/flutter
darrenaustin
left a comment
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.
@Playhi thanks so much for the contribution. My apologies on not getting to this sooner. It looks good. I just have a quibble with the introduction of a new defaults class interface, but otherwise it looks great.
Sync flutter/flutter/master to Playhi/flutter/master
# Conflicts: # packages/flutter/test/material/list_tile_test.dart
Sync flutter/flutter/master to Playhi/flutter/master
darrenaustin
left a comment
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.
LGTM. Thanks for the contribution.
|
@Playhi, unfortunately there was a recent change to some community tests dealing with package versioning. This is throwing off the tests for this PR. Can you merge with the latest from master and push to this PR? The easiest way to do this is something like: git pull --rebase upstream master
git push --force origin list_tile_more_customizableHopefully that will clear up the tests and we can land this change. |
Sync flutter/flutter/master to Playhi/flutter/master
|
@Playhi thanks for the update, but it looks like there is a still a merge conflict with what is on master. Perhaps someone else checked in something conflicting since your update? Can you merge one more time? |
Sync flutter/flutter/master to Playhi/flutter/master
# Conflicts: # packages/flutter/lib/src/material/list_tile.dart # packages/flutter/test/material/list_tile_test.dart
Description
Allow the modification of ListTile's default horizontalTitleGap, minVerticalPadding, minLeadingWidth.
Related Issues
Tests
I added the following tests:
ListTile horizontalTitleGap = 0.0ListTile horizontalTitleGap = (default)ListTile minVerticalPadding = 80.0ListTile minLeadingWidth = (default)ListTile minLeadingWidth = 60.0Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.