v1.5.2glow_bottom_app_bar
带有发光过渡效果的简单底部应用栏,为导航提供美观的效果
10喜欢 62近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
带有发光过渡效果的简单 Flutter 底部应用栏
以下为英文项目原文快照,最新内容请访问 GitHub。
GlowBottomAppBar is a beautiful and easy to use widget which shows a glowing transition from when index changes and is fully customizable.
Resources:
class DemoScreen extends StatelessWidget {
const DemoScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
bottomNavigationBar: GlowBottomAppBar(
height: 60,
onChange: (value) {
print(value);
},
background: Colors.black54,
iconSize: 35,
glowColor: Colors.redAccent,
selectedChildren: const [
Icon(Icons.ac_unit, color: Colors.redAccent,),
Icon(Icons.adb_rounded, color: Colors.redAccent,),
Icon(Icons.account_circle_rounded, color: Colors.redAccent,),
],
children: const [
Icon(Icons.ac_unit, color: Colors.white,),
Icon(Icons.adb_rounded, color: Colors.white,),
Icon(Icons.account_circle_rounded, color: Colors.white,),
],
),
);
}
}
You can customise glow_bottom_app_bar using parameters like:
height
width
iconSize
duration
glowColor
background
shadowColor
children
selectedChildren
initialIndex
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.3先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗