hacktons / convex_bottom_bar

A Flutter package which implements a ConvexAppBar to show a convex tab in the bottom bar. Theming supported.
https://bar.hacktons.cn
Apache License 2.0
791 stars 147 forks source link

Body color covering convex curvex #174

Closed Entrebear closed 1 year ago

Entrebear commented 2 years ago

Describe the bug

When a color is set for the body it covers the ‘curve’ shape of the bar.

Environment details

Paste the flutter environment detail.

flutter 3.0.0

dependencies: convex_bottom_bar: 3.0.0



**Expected behavior**

The convex curve should be over the body
Entrebear commented 2 years ago

Please refer to https://stackoverflow.com/questions/72969310/bottomnavigationbar-covered-by-body-colour-in-flutter for further information

avenwu commented 1 year ago

This is not a bug. The convex is floating above the "content" widget. Color with alpha make it "transparent". So if you use any color with transparency, they would finally "mixed together".