SSlideMenu constructor
const
SSlideMenu({
- Key? key,
- SMenuStyle style = const SMenuStyle(),
- SMenuController? controller,
- required List<
SMenuItem> items, - Widget builder(
- BuildContext context,
- List<
SMenuItem> items
- Widget? header,
- ScrollPhysics? scrollPhysics,
- Axis scrollDirection = Axis.vertical,
- Duration duration = const Duration(milliseconds: 250),
- SMenuPosition position = SMenuPosition.left,
- double closedSize = 50.0,
- double openSize = 250.0,
- Offset offset = Offset.zero,
- bool isBodyMovable = true,
- bool isMenuMovable = true,
- Widget? body,
- bool? enableGestures,
Implementation
const SSlideMenu({
super.key,
super.style,
super.controller,
required super.items,
super.builder,
super.header,
super.footer,
super.scrollPhysics,
super.scrollDirection,
super.duration,
super.position,
super.closedSize,
super.openSize,
this.offset = Offset.zero,
this.isBodyMovable = true,
this.isMenuMovable = true,
this.body,
this.enableGestures,
});