SResizableMenu constructor

const SResizableMenu({
  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. bool resizable = true,
  15. Color? barColor,
  16. Color? barHoverColor,
  17. double? barSize,
  18. double? barHoverSize,
  19. bool enableWrapper = true,
  20. Widget? body,
})

Implementation

const SResizableMenu({
  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.resizable = true,
  this.barColor,
  this.barHoverColor,
  this.barSize,
  this.barHoverSize,
  this.enableWrapper = true,
  this.body,
});