0

I'm trying to build a BottomNavigationBar and Float Action Button that has no background (transparent) Layout sample Could you guys help to layout for this? Thanks.

vuchau
  • 3
  • 2

2 Answers2

2

To make the background extend under the BottomNavigationBar You should set:

extendBody: true

as a property in BottomNavigationBar.

camillo777
  • 2,177
  • 1
  • 20
  • 20
1

you need to wrap the bottom navigation bar with theme widget and try to modify canvas color property to transparent something looks like below

child: Theme(
  data: Theme.of(context)
              .copyWith(canvasColor: Colors.transparent),
)
RAMU PAL
  • 149
  • 1
  • 11