NiceAppLayout constructor

const NiceAppLayout({
  1. Key? key,
  2. required Widget body,
  3. Widget? sidebar,
  4. PreferredSizeWidget? header,
  5. Widget? footer,
  6. double sidebarWidth = 260,
  7. bool sidebarCollapsed = false,
  8. double collapsedWidth = 64,
  9. ValueChanged<bool>? onSidebarToggle,
})

Implementation

const NiceAppLayout({
  super.key,
  required this.body,
  this.sidebar,
  this.header,
  this.footer,
  this.sidebarWidth = 260,
  this.sidebarCollapsed = false,
  this.collapsedWidth = 64,
  this.onSidebarToggle,
});