v1.0.0folding_menu
一個華麗且易於使用的摺疊式選單,適用於 Flutter 應用程式
22喜歡 29近 30 天下載120Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個華麗且易於使用的摺疊式選單,適用於 Flutter 應用程式
以下為英文專案原文快照,最新內容請造訪 GitHub。
This is an easy to use package for adding Folding Menu to your Flutter Applications
To Use, simply add Folding Menu to your Stack Widget(as the Last Element for most Cases):
body: Stack(
children: [
Container(
color: Colors.deepOrange,
child: Center(child: Text("Other Screen Content",style: TextStyle(color: Colors.white,fontSize: 20),)),),
// Add FoldingMenu as the Last Child to Stack
FoldingMenu(duration: Duration(milliseconds: 900), shadowColor: Colors.black26, animationCurve: Curves.decelerate, folded: openMenu, children: [
ListTile(
onTap: () {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => SecondScreen(
text: "Page 1",
)));
},
title: Text("Home Dance"),
tileColor: Colors.white,
),
ListTile(
onTap: () {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => SecondScreen(
text: "Page 2",
)));
},
title: Text("Home Dance 2"),
tileColor: Colors.white,
),
ListTile(
onTap: () {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => SecondScreen(
text: "Page 3",
)));
},
title: Text("Home Dance 3"),
tileColor: Colors.white,
),
ListTile(
onTap: () {
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => SecondScreen(
text: "Page 4",
)));
},
title: Text("Home Dance 4"),
tileColor: Colors.white,
),
]),
],
),
Plans to add more customizations.
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗