v0.1.0
slider_side_menu
滑動側邊菜單隱藏在螢幕一側,僅當使用者點擊控制按鈕時才開啟。
20喜歡 252近 30 天下載150Pub 分數
AndroidiOSLinuxmacOSWebWindows
滑動側邊菜單隱藏在螢幕一側,僅當使用者按壓控制按鈕時才開啟
以下為英文專案原文快照,最新內容請造訪 GitHub。
Slider Side Menu that is hidden to the side of the screen, and only open when user taps on the controller button.
In your pubspec.yaml, include the package dependencies into your pubspec.yaml
In your code, add import
import 'package:slider_side_menu/slider_side_menu.dart';
Then add the widget to your screen
SliderSideMenu(childrenData: [
MenuItem(
icon: Icon(Icons.thumb_up),
label: Text("Thumb up"),
onPressed: _thumbUp
),
MenuItem(
icon: Icon(Icons.thumb_down),
label: Text("Thumb down"),
onPressed: _thumbDown
)
], description: "Sample tooltip message")
Sample code: https://github.com/suesitran/slider_side_menu/blob/master/example/lib/main.dart
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗