akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.38k stars 381 forks source link

Background color does not follow dark or light theme #144

Open chitgoks opened 4 years ago

chitgoks commented 4 years ago

Background is always white.

essboyer commented 4 years ago

Same issue here. I got around it by wrapping the content (a Column in my case) with a Container, and setting the background color to Theme.of(context).backgroundColor.

akshathjain commented 4 years ago

@essboyer that works but it might be easier to use the built in color property instead of wrapping the content.

chitgoks commented 4 years ago

yes. that was my workaround but not everybody may know about it right away especially newbies.

akshathjain commented 4 years ago

Will add default value to the color property to reflect the app theme