NiceMenu constructor

const NiceMenu({
  1. Key? key,
  2. required List<NiceMenuItem> items,
  3. String? selectedId,
  4. void onItemTap(
    1. NiceMenuItem item
    )?,
  5. bool collapsed = false,
  6. double width = 260,
  7. double collapsedWidth = 64,
  8. Widget? header,
  9. Widget? footer,
})

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,
});