modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

showBarModalBottomSheet - backgroundColor does not seem to be used anywhere and does not change the background color

Open vasilich6107 opened this issue 3 years ago • 6 comments

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 image

vasilich6107 avatar Apr 15 '22 12:04 vasilich6107

@jamesblasco any feedback?

vasilich6107 avatar Jun 15 '22 14:06 vasilich6107

Hey, same here with this issue. The modal color doesn't seem to change

Zechst avatar Jul 25 '22 02:07 Zechst

@jamesblasco any feedback?

vasilich6107 avatar Jul 25 '22 05:07 vasilich6107

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.

seljmov avatar Jul 27 '22 17:07 seljmov

Thanks bro!

Zechst avatar Jul 28 '22 00:07 Zechst

@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!

Zechst avatar Jul 29 '22 05:07 Zechst