TLayout constructor
const
TLayout({
- Key? key,
- List<
TSidebarItem> items = const [], - Widget? logo,
- Widget? minifiedLogo,
- Widget? profile,
- List<
Widget> ? actions, - required Widget child,
- String? pageTitle,
- double mainCardRadius = 12,
- double? minWidth = 235,
- double maxWidth = 300,
- double minifiedWidth = 80,
- bool? isMinimized,
- bool showHamburgerMenu = false,
- bool showThemeToggle = true,
- bool showFullscreenToggle = true,
- bool showColorToggle = true,
- bool showLogout = true,
- 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,
});