modal_bottom_sheet
modal_bottom_sheet copied to clipboard
showBarModalBottomSheet - backgroundColor does not seem to be used anywhere and does not change the background color
Hi @jamesblasco Thanks for your work.
Recently I tried to use backgroundColor without success.
The prop does not seem to be passed anywhere(besides initial function) so it is no surprise that is does not work as expected

@jamesblasco any feedback?
Hey, same here with this issue. The modal color doesn't seem to change
@jamesblasco any feedback?
Hi, @vasilich6107 and @Zechst! You can use my repository until my update is accepted.
modal_bottom_sheet:
git:
url: https://github.com/seljmov/modal_bottom_sheet.git
ref: fix_bar_color
I have encountered this problem myself and am still solving it this way.
Thanks bro!
@vasilich6107 I found a workaround for this. You may simply add return Scaffold after builder: (context) { ... } to control the modal's background color, or using a Container ( ). Tell me if it works for you!