Update ListTile docs for color animation issues and add example#106955
Update ListTile docs for color animation issues and add example#106955auto-submit[bot] merged 6 commits intoflutter:masterfrom
ListTile docs for color animation issues and add example#106955Conversation
b03a651 to
5857c45
Compare
There was a problem hiding this comment.
may need
Do they need to be wrapped individually in order for these animations to work? what other options are there?
There was a problem hiding this comment.
I can't tell where this lines up with the performance drawbacks you have documented in your other PR, but it would be nice to make sure they are close by here. :)
There was a problem hiding this comment.
I place that performance line just below so if you're building the list_tile with Material for animation, you can reference performance implications right there below it.
There was a problem hiding this comment.
Thank you for checking that!
Can you clarify may need? If it is necessary in every case, it should just say must, if otherwise, when would you not need it? Is there another way?
There was a problem hiding this comment.
In my testing, I found that it is always needed when animating colors as you want colors to be animated with the ListTile itself and get the desired results.
Update docs to to say must.
There was a problem hiding this comment.
Thanks! That is one that folks always catch me on. 😜
22152de to
92d6e44
Compare
|
Try again when the tree status has been applied to this PR. |

context: #102310
part of #105760
related to #107104
This PR adds an explanation and an example of when
ListTileneeds to be wrapped withMaterialto animate colors.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.