NiceMenu constructor
- Key? key,
- required List<
NiceMenuItem> items, - String? selectedId,
- void onItemTap(
- NiceMenuItem item
- bool collapsed = false,
- double width = 260,
- double collapsedWidth = 64,
- Widget? header,
Implementation
const NiceMenu({
super.key,
required this.items,
this.selectedId,
this.onItemTap,
this.collapsed = false,
this.width = 260,
this.collapsedWidth = 64,
this.header,
this.footer,
});