Refactor MaterialStateProperty lerp functions#104507
Refactor MaterialStateProperty lerp functions#104507HansMuller merged 2 commits intoflutter:masterfrom
MaterialStateProperty lerp functions#104507Conversation
HansMuller
left a comment
There was a problem hiding this comment.
This is a nice improvement. Enshrining the special cases for BorderSide and OutlinedBorder in new public API doesn't seem like a good idea; better to create lerp functions for those types.
|
By "better to create lerp functions for those types" I meant that it would be better to update BorderSide.lerp to handle nulls, and ... it looks like you can already define MaterialStateProperty.lerp in terms of ShapeBorder.lerp already? |
Thank you, I understand it better now.
|
e442cb5 to
beb3a8a
Compare
|
@HansMuller I decided to leave out making |
0fb6eff to
c66f515
Compare
|
This pull request is not suitable for automatic merging in its current state.
|
c66f515 to
40ae46b
Compare
Trying again |
restore border and shape lerp function Add `OutlinedBorder.lerp` Resolve conflicts
40ae46b to
fd97464
Compare
|
@HansMuller |
|
I asked on hackers-infra, I don't understand why "Google Testing" keeps failing. The details link just points to an empty FROB page. |
|
Thanks for raising this. (I cannot access the details without credentials) |
|
It's not showing in go/flutter-rob as it had already been tested 8 times. @HansMuller @CaseyHillers filed b/234758732 to track. |
|
@keyonghan - OK, I'm going to land this. It should be safe. |
fixes #104506
fixes #60555
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.