slider_side_menu 0.1.0
slider_side_menu: ^0.1.0 copied to clipboard
Slider Side Menu that is hidden to the side of the screen, and only open when user taps on the controller button.
slider_side_menu #
Slider Side Menu that is hidden to the side of the screen, and only open when user taps on the controller button.
Demo #
How to use #
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';
copied to clipboard
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")
copied to clipboard
Sample code: https://github.com/suesitran/slider_side_menu/blob/master/example/lib/main.dart