SSlideMenu constructor

const SSlideMenu({
  1. Key? key,
  2. SMenuStyle style = const SMenuStyle(),
  3. SMenuController? controller,
  4. required List<SMenuItem> items,
  5. Widget builder(
    1. BuildContext context,
    2. List<SMenuItem> items
    )?,
  6. Widget? header,
  7. Widget? footer,
  8. ScrollPhysics? scrollPhysics,
  9. Axis scrollDirection = Axis.vertical,
  10. Duration duration = const Duration(milliseconds: 250),
  11. SMenuPosition position = SMenuPosition.left,
  12. double closedSize = 50.0,
  13. double openSize = 250.0,
  14. Offset offset = Offset.zero,
  15. bool isBodyMovable = true,
  16. bool isMenuMovable = true,
  17. Widget? body,
  18. 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,
});