convex_bottom_bar
convex_bottom_bar copied to clipboard
Selected option occludes snack bar messages
Describe the bug
The selected option occludes snack bar messages. I have a single Scaffold.
Is it fixable? If I'm using a second Scaffold I was able to make the Snack bar to be on top of the convex bottom bar which is also not great according the material design principles.
It should be fixed. But... the snack bar doest not recognize our bar. I guess we can find some workaround.
@avenwu, is it realistic to assume this will be fixed any time soon?
I've managed to work around it by wrapping the widget with container:
bottomNavigationBar: Container(
padding: EdgeInsets.only(top: 16),
child: ConvexAppBar(
...
),
)
but, the result is sub-optimal since I don't see content from the main screen inside the padded area.
Another workaround I found is to place a transparent 1 pixel size floating action button which the layout system will take into considerations when calculating the position of the snackbar.