Rolling_nav_bar
底部导航栏,其布局受此启发,并具有大量可自定义的动画,颜色和形状。
入门
首先,将RollingNavBar放在Scaffold的bottomNavigationCar插槽中,并包裹在提供最大高度的小部件中。 例如:
Scaffold (
bottomNavigationBar : Container (
height : 95 ,
child : RollingNavBar (
// nav items
),
)
);
或者,您可以直接使用Stack放置它:
Scaffold (
body : Stack (
children : < Widget> [
Positioned (
bottom : 0 ,
height : 95 ,
评论0
最新资源