DashboardLayoutProps constructor

const DashboardLayoutProps({
  1. required Widget child,
  2. required String currentRoute,
  3. required List<DashboardNavGroup> navigation,
  4. Widget? sidebarHeader,
  5. Widget? sidebarFooter,
  6. Widget? topBar,
  7. String sidebarWidth = '256px',
  8. String backgroundColor = 'var(--background)',
  9. String sidebarBackgroundColor = 'var(--card)',
})

Implementation

const DashboardLayoutProps({
  required this.child,
  required this.currentRoute,
  required this.navigation,
  this.sidebarHeader,
  this.sidebarFooter,
  this.topBar,
  this.sidebarWidth = '256px',
  this.backgroundColor = 'var(--background)',
  this.sidebarBackgroundColor = 'var(--card)',
});