BottomAppBar Floating action button notch/inset is not transparent

前端 未结 3 1700
耶瑟儿~
耶瑟儿~ 2021-02-07 23:01

I\'ve added a BottomAppBar to scaffold in a materialApp, and to that I\'ve added a fab with a inset at the center. The code looks somewhat like this



        
3条回答
  •  执念已碎
    2021-02-07 23:51

    You just need to be on the flutter channel: master and then add to Scaffold:

    Scaffold(
       extendBody: true
    );
    

    and it should be transparent :)

    Greets

    Rebar

提交回复
热议问题