SidebarProps constructor

const SidebarProps({
  1. required List<Widget> children,
  2. Widget? header,
  3. Widget? footer,
  4. bool isCollapsed = false,
  5. void onCollapseChanged(
    1. bool collapsed
    )?,
  6. double width = 280,
  7. double collapsedWidth = 64,
  8. bool showCollapseToggle = true,
  9. bool rightSide = false,
  10. void onToggleCollapse()?,
})

Implementation

const SidebarProps({
  required this.children,
  this.header,
  this.footer,
  this.isCollapsed = false,
  this.onCollapseChanged,
  this.width = 280,
  this.collapsedWidth = 64,
  this.showCollapseToggle = true,
  this.rightSide = false,
  this.onToggleCollapse,
});