ConvexBottomBar는 부드러운 애니메이션과 사용자 정의 테마를 제공하는 시각적으로 독특한 볼록형 하단 네비게이션 바를 제공하는 Flutter 패키지입니다. Android, iOS, Web, macOS, Windows, Linux 플랫폼에서 뛰어난 원형 동적 탭 디자인을 통해 표준 하단 네비게이션 경험을 향상시킵니다. 테마 커스터마이징을 지원하여 개발자가 바의 외관을 앱의 디자인 언어와 일치시킬 수 있습니다. 현대적이고 매력적인 네비게이션 인터페이스를 원하는 앱에 이상적입니다.
The official BottomAppBar can only display a notch FAB with an app bar, and sometimes we need a convex FAB. BottomAppBar and NotchShape's implementation inspires this ConvexAppBar.
Flutter Version Support
As Flutter is developing fast. There can be breaking changes. We will be trying to support the
stable version and beta version through different package versions.
Stable Flutter Version
Package Version
More
>=3.7.0
>=3.2.0
Since v3.7.0, the stable version changed the DefaultTabController api
>=1.20
>=2.4.0
Since v1.20, the stable version changed the Stack api
<1.20
<=2.3.0
Support for stable version such as v1.17, v1.12 is not going to be updated
Features
Provide multiple internal styles
Ability to change the theme of AppBar
Provide builder API to customize a new style
Add badge on the tab menu
Elegant transition animation
Provide hook API to override some of the internal styles
The badge() method accepts an array of badges; The badges is a map with tab items. Each value of entry can be either String, IconData, Color or Widget.
Single Button
If you only need a single button, checkout the ConvexButton.
RTL is supported internally, and if you define the TextDirection inside the app, the AppBar should work fine.
Both RTL and LTR can be configured through Directionality: