Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a minTileHeight to ListTile widget so its height can be customized to less than the default height. #145244

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

Merged
merged 9 commits into from
Mar 19, 2024

Conversation

hannah-hyj
Copy link
Member

@hannah-hyj hannah-hyj commented Mar 15, 2024

fixes: #145369

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Mar 15, 2024
@hannah-hyj hannah-hyj requested a review from QuncCccccc March 15, 2024 23:44
Copy link
Contributor

@QuncCccccc QuncCccccc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any issues that this PR is trying to fix? I'm just thinking whether we can make a smaller height by changing visualDensity and isDense. Also if we need to add this property, should we also add visual density adjustment to minTileHeight and add this property to ListTileThemeData?

@hannah-hyj
Copy link
Member Author

hannah-hyj commented Mar 19, 2024

issue

Added

visualDensity and isDense

I tried isDense and the tile height is 48, i want to implement a tile with height to 32 for my use case.

Also if we need to add this property, should we also add visual density adjustment to minTileHeight?

I think if you set the minHeight explicitly, it makes sense to override the visual density.

add this property to ListTileThemeData

added.

@hannah-hyj hannah-hyj requested a review from QuncCccccc March 19, 2024 01:28
Copy link
Contributor

@QuncCccccc QuncCccccc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Just left a couple of small comments then we are good to go!

@hannah-hyj hannah-hyj requested a review from QuncCccccc March 19, 2024 03:58
Copy link
Contributor

@QuncCccccc QuncCccccc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some nits.

@hannah-hyj hannah-hyj added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 19, 2024
@auto-submit auto-submit bot merged commit 2b317d5 into flutter:master Mar 19, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 20, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Mar 20, 2024
flutter/flutter@d31a85b...b96c13d

2024-03-20 [email protected] Roll Flutter Engine from f42fc937028c to 883adfe2ef61 (1 revision) (flutter/flutter#145459)
2024-03-20 [email protected] Roll Flutter Engine from 32ae508316a6 to f42fc937028c (1 revision) (flutter/flutter#145456)
2024-03-20 [email protected] Roll Flutter Engine from 1e89d04c6b52 to 32ae508316a6 (2 revisions) (flutter/flutter#145449)
2024-03-20 [email protected] Roll Flutter Engine from e96b2b0047f7 to 1e89d04c6b52 (1 revision) (flutter/flutter#145446)
2024-03-20 [email protected] Roll Flutter Engine from 24b84203f6cc to e96b2b0047f7 (1 revision) (flutter/flutter#145444)
2024-03-20 [email protected] Roll Flutter Engine from 3f67bc531eef to 24b84203f6cc (1 revision) (flutter/flutter#145441)
2024-03-20 [email protected] Roll Flutter Engine from 00bfdb580b1b to 3f67bc531eef (1 revision) (flutter/flutter#145438)
2024-03-20 [email protected] Roll Flutter Engine from dce639a4c453 to 00bfdb580b1b (1 revision) (flutter/flutter#145435)
2024-03-19 [email protected] Roll Flutter Engine from bd3a9241c2c5 to dce639a4c453 (3 revisions) (flutter/flutter#145429)
2024-03-19 [email protected] Roll Flutter Engine from bacb027aa824 to bd3a9241c2c5 (1 revision) (flutter/flutter#145427)
2024-03-19 [email protected] Fix remote DDS in proxied devices. (flutter/flutter#145346)
2024-03-19 [email protected] Roll Flutter Engine from 7095e6a4a643 to bacb027aa824 (2 revisions) (flutter/flutter#145424)
2024-03-19 [email protected] Roll Flutter Engine from 59138d5f8e88 to 7095e6a4a643 (1 revision) (flutter/flutter#145409)
2024-03-19 [email protected] Add a `minTileHeight` to ListTile widget so its height can be customized to less than the default height. (flutter/flutter#145244)
2024-03-19 [email protected] Widget state properties (flutter/flutter#142151)
2024-03-19 [email protected] chore: fix some comments (flutter/flutter#145397)
2024-03-19 [email protected] Roll Flutter Engine from 7ea6b003ffeb to 59138d5f8e88 (1 revision) (flutter/flutter#145404)
2024-03-19 [email protected] Roll Packages from a757073 to a2f4ce0 (3 revisions) (flutter/flutter#145399)
2024-03-19 [email protected] Roll Flutter Engine from d8fbcfbd799c to 7ea6b003ffeb (2 revisions) (flutter/flutter#145398)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a minTileHeight to ListTile widget so its height can be customized to less than the default height
2 participants