SDropdownMenuCascade<T> constructor
const
SDropdownMenuCascade<T> ({
- required List<
SMenuItem> items, - Key? key,
- Duration duration = const Duration(milliseconds: 250),
- Widget? child,
- SDropdownMenuStyle style = const SDropdownMenuStyle(),
- double height = 350,
- double width = 250,
- void onChange(
- T value,
- int index
- SMenuController? controller,
- Widget? header,
- Curve curve = Curves.easeInOutCirc,
- Widget? icon,
- SDropdownMenuPosition? position = SDropdownMenuPosition.bottomCenter,
- Widget builder(
- BuildContext context,
- List<
SMenuItem> items
- 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,
});