GotJimmy / accordion

Other
46 stars 43 forks source link

Content background doesn't support transparent background #55

Closed sameer1612 closed 11 months ago

sameer1612 commented 11 months ago

With transparent color mentioned:

image image

Works with any other color:

image image
GotJimmy commented 11 months ago

Right. Have you tried setting the content background to the same color as your app's background?

sameer1612 commented 11 months ago

Right. Have you tried setting the content background to the same color as your app's background?

Yeh. Gave a shot. Unfortunately this won't work because the background is not static. It's a gradient and the section this widget covers can't be made precisely the section of background gradient it overlaps with.

GotJimmy commented 11 months ago

This will work: set the following parameters for the section:

contentBackgroundColor: Colors.transparent contentBorderColor: Colors.transparent