v2.2.0circle_nav_bar
一个包为 Flutter 项目提供了一种简便的方法来创建圆形按钮导航栏
164喜欢 3490近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
111coding/circle_nav_bar open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
./example| no padding black | padding with gradient |
|---|---|
![]() |
![]() |
./example_two| Level and Icons | only Icons | padding with Levels and icons |
|---|---|---|
![]() |
![]() |
![]() |
dependencies:
circle_nav_bar: ^latest_version
import 'package:circle_nav_bar/circle_nav_bar.dart';
Scaffold(
bottomNavigationBar: CircleNavBar(
activeIcons: const [
Icon(Icons.person, color: Colors.deepPurple),
Icon(Icons.home, color: Colors.deepPurple),
Icon(Icons.favorite, color: Colors.deepPurple),
],
inactiveIcons: const [
Text("My"),
Text("Home"),
Text("Like"),
],
color: Colors.white,
circleColor: Colors.white,
height: 60,
circleWidth: 60,
initIndex: 1,
onChanged: (v) {
// TODO
},
// tabCurve: ,
padding: const EdgeInsets.only(left: 16, right: 16, bottom: 20),
cornerRadius: const BorderRadius.only(
topLeft: Radius.circular(8),
topRight: Radius.circular(8),
bottomRight: Radius.circular(24),
bottomLeft: Radius.circular(24),
),
shadowColor: Colors.deepPurple,
circleShadowColor: Colors.deepPurple,
elevation: 10,
gradient: LinearGradient(
begin: Alignment.topRight,
end: Alignment.bottomLeft,
colors: [ Colors.blue, Colors.red ],
),
circleGradient: LinearGradient(
begin: Alignment.topRight,
end: Alignment.bottomLeft,
colors: [ Colors.blue, Colors.red ],
),
),
...
Jiwon Lee |
Rupinderjeet Singh Hans |
Md Ashraf Ullah |
mark-kkk |
kzrnm |
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗