-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Refactor MaterialStateProperty
lerp functions
#104507
Refactor MaterialStateProperty
lerp functions
#104507
Conversation
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 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 |
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
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.