ModBaseLayout constructor

const ModBaseLayout({
  1. Key? key,
  2. required String title,
  3. required Widget body,
  4. List<String>? claims,
  5. required List<MenuGroup> menuGroups,
  6. UserProfile? userProfile,
  7. List<Widget>? appBarActions,
  8. bool showDefaultActions = true,
  9. Widget? sidebarHeader,
  10. Widget? sidebarFooter,
  11. Widget? footer,
  12. Color? sidebarBackgroundColor,
  13. Color? sidebarSelectedColor,
  14. Color? sidebarUnselectedColor,
  15. double footerHeight = 50.0,
  16. Widget? drawerHeader,
})

Implementation

const ModBaseLayout({
  super.key,
  required this.title,
  this.logo,
  required this.body,
  this.claims,
  required this.menuGroups,
  this.userProfile,
  this.appBarActions,
  this.showDefaultActions = true,
  this.sidebarHeader,
  this.sidebarFooter,
  this.footer,
  this.sidebarBackgroundColor,
  this.sidebarSelectedColor,
  this.sidebarUnselectedColor,
  this.footerHeight = 50.0,
  this.drawerHeader,
});