SResizableMenu constructor
const
SResizableMenu({
- 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,
- bool resizable = true,
- Color? barColor,
- Color? barHoverColor,
- double? barSize,
- double? barHoverSize,
- bool enableWrapper = true,
- 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,
});