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
fixes RawDialogRoute
memory leak
#147817
fixes RawDialogRoute
memory leak
#147817
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.
Removing CurvedAnimation
here since default animation is linear anyways
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.
Interesting. Can you explain it in more details? It is not obvious to me :)
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.
Animation<double>
we get from buildTransitions
function is by default linear which is generated in abstract class TransitionRoute
using AnimationController
So from my perspective it would be useless to add CurvedAnimation
with linear curve since it is how Animation<double>
will behave same by default, it would have been viable if it was anything except linear
does this make sense?
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.
@Piinks, can you review this or help to find someone who can confirm there is no hidden footgun there?
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.
yes, Curve.linear is no-op
cc: @polina-c |
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
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.
yes, Curve.linear is no-op
part of #141198
RawDialogRoute
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.