Proposal to add barrier configs for showDatePicker, showTimePicker and showAboutDialog.#131306
Proposal to add barrier configs for showDatePicker, showTimePicker and showAboutDialog.#131306justinmc merged 7 commits intoflutter:masterfrom ronnnnn:feat-barrier-configs-param-for-showXxx
Conversation
…d showAboutDialog. (#130484) ### Overview Add `barrierDismissible`, `barrierColor` and `barrierLabel` parameters to `showDatePicker`, `showTimePicker` and `showAboutDialog` which calls `showDialog` internally. We can change these parameters with `showDialog` and Dialog widgets (like `DatePickerDialog`, `TimePickerDialog` or `AboutDialog`) directly. But, I think it is prefer to provide interfaces same as `showDialog` to keep application wide unified looks if it is used internally. Fixes #130971 (cherry picked from commit 9def8f6)
|
I pulled latest master changes and cherry-picked 9def8f6. Any idea about it? |
|
I didn't face the error on my local environment but the test failed as mentioned on CI. I fixed with not to use setupAll to init |
justinmc
left a comment
There was a problem hiding this comment.
LGTM 👍 . Thanks for following up on this after it was reverted!
|
I would guess that the CI environment is running the tests in parallel, or in a different order, or something like that... Not sure though. |
justinmc
left a comment
There was a problem hiding this comment.
LGTM 👍. Thanks for changing it to setUp. I guess the name setUpAll is confusing now that I think about it...
There was one test failing but I think it was an infrastructure flake, I've rerun it.
|
@HansMuller for secondary review since you already reviewed the original PR #130484. |
…icker and showAboutDialog. (flutter/flutter#131306)
flutter/flutter@61fd11d...dd9764e 2023-07-27 [email protected] Proposal to add barrier configs for showDatePicker, showTimePicker and showAboutDialog. (flutter/flutter#131306) 2023-07-27 [email protected] Fix ios_add2app Podfile (flutter/flutter#131263) 2023-07-27 [email protected] Add DeviceLab build+test separation doc (flutter/flutter#131365) 2023-07-27 [email protected] IgnoreBaseline widget (flutter/flutter#131220) 2023-07-27 [email protected] Add 'vm:keep-name' pragmas to platform channel classes (flutter/flutter#131271) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…d showAboutDialog. (flutter#131306) Can configure modal barriers in Flutter's built-in dialogs.
…d showAboutDialog. (flutter#131306) Can configure modal barriers in Flutter's built-in dialogs.
Overview
Add
barrierDismissible,barrierColorandbarrierLabelparameters toshowDatePicker,showTimePickerandshowAboutDialogwhich callsshowDialoginternally. We can change these parameters withshowDialogand Dialog widgets (likeDatePickerDialog,TimePickerDialogorAboutDialog) directly. But, I think it is prefer to provide interfaces same asshowDialogto keep application wide unified looks if it is used internally.Fixes #130971
(cherry picked from commit 9def8f6)
Context
#130484 was reverted as it caused postsubmit test failures.
I pulled latest master changes and cherry-picked 9def8f6.
Pre-launch Checklist
///).