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 ↗