v1.0.0flip_box_bar_plus
Dannniel의 Dribbble 디자인에서 영감을 받은 3D BottomNavigationBar
34좋아요 3130일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
Flutter에서 3D 하단 탐색 바
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Forked from Flip_box_bar, added support for vertical position
A 3D BottomNavigationBar inspired by Dribbble design by Dannniel.
https://github.com/deven98/flip_box_bar/blob/master/demo.gif
// In Scaffold
int selectedIndex = 0;
FlipBoxBarPlus(
selectedIndex: index,
items: [
FlipBarItem(icon: Icon(Icons.map), text: Text("Map"), frontColor: Colors.blue, backColor: Colors.blueAccent),
FlipBarItem(icon: Icon(Icons.add), text: Text("Add"), frontColor: Colors.cyan, backColor: Colors.cyanAccent),
FlipBarItem(icon: Icon(Icons.chrome_reader_mode), text: Text("Read"), frontColor: Colors.orange, backColor: Colors.orangeAccent),
FlipBarItem(icon: Icon(Icons.print), text: Text("Print"), frontColor: Colors.purple, backColor: Colors.purpleAccent),
FlipBarItem(icon: Icon(Icons.print), text: Text("Print"), frontColor: Colors.pink, backColor: Colors.pinkAccent),
],
onIndexChanged: (newIndex) {
setState() {
selectedIndex = newIndex;
}
},
),
The items to be displayed in the NavBar.
The duration of the animation of the box flip.
Callback for getting value of item selection.
The initial selected index of the NavBar.
The height of the NavBar when it is in bottom nav position.
Set the navigation bar as vertical.
The width of the NavBar when it is in vertical position.