Set modal bottom sheet barrier color#45067
Conversation
|
@darrenaustin any thoughts here. Has been laying around for a bit. |
darrenaustin
left a comment
There was a problem hiding this comment.
Thanks for your contribution. This is a reasonable feature with a good implementation and test. LGTM.
Sorry about that. Looks good. I will push this when the build goes green. Thanks for submitting this. |
|
@katallaxie Shouldn't this also be exposed in the It would also be more consistent with the other properties available in the |
|
@droidery I thought of this. But because there is default behavior that actually reflects the standard design guidelines I thought it would be better to have this more as a special customization. |
Description
When presenting a Modal Bottom Sheet this PR allows to pass down a value for the color of the modal barrier. This is a non-breaking change, because the default behavior is being kept.
Tests
I added the following tests:
Checklist
///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?