Sidebar constructor

const Sidebar({
  1. Key? key,
  2. List<TSidebarItem>? items,
  3. double? minWidth,
  4. double? maxWidth,
  5. double minifiedWidth = 80,
  6. bool isMinimized = true,
  7. dynamic onTap(
    1. TSidebarItem
    )?,
  8. Widget? header,
  9. Widget? minifiedHeader,
  10. Widget? footer,
  11. TSidebarTheme? theme,
})

Implementation

const Sidebar({
  super.key,
  this.items,
  this.minWidth,
  this.maxWidth,
  this.minifiedWidth = 80,
  this.isMinimized = true,
  this.onTap,
  this.header,
  this.minifiedHeader,
  this.footer,
  this.theme,
});