SDropdownMenuCascade<T> constructor

const SDropdownMenuCascade<T>({
  1. required List<SMenuItem> items,
  2. Key? key,
  3. Duration duration = const Duration(milliseconds: 250),
  4. Widget? child,
  5. SDropdownMenuStyle style = const SDropdownMenuStyle(),
  6. double height = 350,
  7. double width = 250,
  8. void onChange(
    1. T value,
    2. int index
    )?,
  9. SMenuController? controller,
  10. Widget? header,
  11. Widget? footer,
  12. Curve curve = Curves.easeInOutCirc,
  13. Widget? icon,
  14. SDropdownMenuPosition? position = SDropdownMenuPosition.bottomCenter,
  15. Widget builder(
    1. BuildContext context,
    2. List<SMenuItem> items
    )?,
  16. SMenuItemStyle buttonStyle = const SMenuItemStyle(),
})

Implementation

const SDropdownMenuCascade({
  required super.items,
  super.key,
  super.duration,
  super.child,
  super.style,
  super.height,
  super.width,
  super.onChange,
  super.controller,
  super.header,
  super.footer,
  super.curve,
  super.icon,
  super.position,
  super.builder,
  super.buttonStyle,
});