TLayout constructor

const TLayout({
  1. Key? key,
  2. List<TSidebarItem> items = const [],
  3. Widget? profile,
  4. List<Widget>? actions,
  5. required Widget child,
  6. String? pageTitle,
  7. double mainCardRadius = 12,
  8. double? minWidth = 235,
  9. double maxWidth = 300,
  10. double minifiedWidth = 80,
  11. bool? isMinimized,
  12. bool showHamburgerMenu = false,
  13. bool showThemeToggle = true,
  14. bool showFullscreenToggle = true,
  15. bool showColorToggle = true,
  16. bool showLogout = true,
  17. VoidCallback? onLogout,
})

Implementation

const TLayout({
  super.key,
  this.items = const [],
  this.logo,
  this.minifiedLogo,
  this.profile,
  this.actions,
  required this.child,
  this.pageTitle,
  this.mainCardRadius = 12,
  this.minWidth = 235,
  this.maxWidth = 300,
  this.minifiedWidth = 80,
  this.isMinimized,
  this.showHamburgerMenu = false,
  this.showThemeToggle = true,
  this.showFullscreenToggle = true,
  this.showColorToggle = true,
  this.showLogout = true,
  this.onLogout,
});