d3xvn/expanding_bottom_bar
帶有展開標題的 Flutter BottomNavigationBar
- Stars
- 40
- Forks
- 4
- 最近推送(UTC)
- 2022年8月27日
- 專案狀態
- 未封存
技術主題
使用的依賴
依賴清單 2 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"}
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
展開 / 收合專案 README
expanding_bottom_bar
A bottom navigation bar with expanding titles. Inspired by the Dribbble design here: https://t.co/BtUlszSmRR
Demo
https://github.com/deven98/expanding_bottom_bar/blob/master/demo.gif
Properties
List<ExpandingBottomBarItem> items;
The items to be displayed in the BottomNavBar.
Duration animationDuration;
The duration of the animation of the box flip.
ValueChanged<int> onIndexChanged;
Callback for getting value of item selection.
int selectedIndex;
The current selected index of the BottomNavigationBar
double navBarHeight;
The height of the BottomNavBar.
Color backgroundColor
The color of the background of the BottomNavigationBar.
Getting Started
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.