SResizableMenuNoWrapper constructor
const
SResizableMenuNoWrapper({
- Key? key,
- SMenuStyle? style = const SMenuStyle(),
- SMenuController? controller,
- List<
SMenuItem> ? items, - Widget builder(
- BuildContext context
- Widget? header,
- ScrollPhysics? scrollPhysics,
- Axis? direction = Axis.vertical,
- Duration? duration = const Duration(milliseconds: 250),
- SMenuPosition? position = SMenuPosition.left,
- bool? enableSelector = false,
- bool? resizable = true,
- Color? barColor,
- Color? barHoverColor,
- double? barSize,
- double? barHoverSize,
Implementation
const SResizableMenuNoWrapper({
super.key,
super.style,
super.controller,
super.items,
super.builder,
super.header,
super.footer,
super.scrollPhysics,
super.direction,
super.duration,
super.position,
this.enableSelector = false,
this.resizable = true,
this.barColor,
this.barHoverColor,
this.barSize,
this.barHoverSize,
}) : assert(
!(builder == null && items == null),
"FAILED ASSERT - builder | items != null: The menu requires either builder or items arguments to be populated.",
);