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
Use OverflowBar instead of ButtonBar in TimePicker #62601
Use OverflowBar instead of ButtonBar in TimePicker #62601
Conversation
await tester.tap(find.text('OK')); | ||
await tester.pumpAndSettle(); | ||
}); | ||
|
||
// TODO(rami-a): Re-enable and fix test. |
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.
Oops, looks like I forgot to remove a TODO, do you think you could remove it as part of this PR? Looks like the formatting of that test is a bit off too.
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.
Sure, done.
child: Text(widget.confirmText ?? localizations.okButtonLabel), | ||
), | ||
], | ||
child: Container( |
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.
Will this result in any visual diff from the ButtonBar?
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 don't think so. I've already done some image diffs before and after this PR, to check. Still need to check the test repo ofcourse.
f209173
to
2a350e1
Compare
This pull request is not suitable for automatic merging in its current state.
|
Removed TimePicker's dependency on ButtonBar, which has its own troublesome dependencies on ButtonTheme (now obsolete - see flutter.dev/go/material-button-system-updates) as well as a problematic implementation, see #53378.
This change is similar to #62686