DesktopSidebar constructor

const DesktopSidebar({
  1. List<SoftUiSidebarItem> items = const [],
  2. String isEmptyMessage = 'Não há itens.',
  3. bool isLoading = false,
  4. bool isCollapsed = false,
  5. Color color = Colors.transparent,
  6. int? selectedIndex,
  7. double? width,
  8. void onOpenPressed()?,
  9. Widget? header,
  10. Widget? body,
  11. Widget? footer,
  12. Key? key,
})

Implementation

const DesktopSidebar({
  this.items = const [],
  this.isEmptyMessage = 'Não há itens.',
  this.isLoading = false,
  this.isCollapsed = false,
  this.color = Colors.transparent,
  this.selectedIndex,
  this.width,
  this.onOpenPressed,
  this.header,
  this.body,
  this.footer,
  super.key,
});