-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Implement barrierDismissible for showCupertinoDialog
#50915
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
Conversation
|
Hi @tottomotto welcome! 🎉 Thank you for the contribution. |
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.
Use complete sentences. Also if there are 2 things being tested, prefer adding 2 tests for 'Not barrier dismissible by default' and 'Configurable to be barrier dismissible'.
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.
can, for example, be
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.
nit: wrap line at 100 characters.
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'm not sure what you mean by wrap :)
packages/flutter_localizations/lib/src/l10n/cupertino_en_AU.arb
Outdated
Show resolved
Hide resolved
xster
left a comment
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.
Thanks for your contribution!
LGTM minus a few nits.
heads up @HansMuller in case you run the translation console anytime soon, otherwise I'll run it after this goes in
|
some tests are failing (but not due to any issues in your PR). Could you rebase your PR on head and push again? |
ff19fe5 to
72e2508
Compare
Description
Adds support for dismissing cupertino dialog with barrier behavior. By default the dialog is not dismissible with a tap on the barrier. The localization files updates are based on the existing material ones.
Related Issues
Fixes #45744
Tests
I added the following tests:
Checklist
///).flutter analyze --flutter-repo) does not report any problems on my PR.