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 ↗