-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Fix SafeArea
DartPad sample
#159344
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
Fix SafeArea
DartPad sample
#159344
Conversation
@@ -122,6 +122,7 @@ enum Inset implements Value { | |||
Text(label), | |||
Builder( | |||
builder: (BuildContext context) => Slider( | |||
key: ValueKey<Inset>(this), |
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.
why is this needed?
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.
I did it to make the testing easier… now that you mention it, I could probably just loop through every slider that the finder returns.
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.
Factored this out in dfef025!
a503e4f
to
dfef025
Compare
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
This pull request fixes a bug I introduced in #158019.
Before
After