RuiScaffold constructor
const
RuiScaffold({
- Key? key,
- Widget? logo,
- required String appName,
- double minWidth = 800,
- double minHeight = 600,
- required Widget body,
- double? leftPanelMinWidth = 120,
- double? leftPanelMaxWidth = 400,
- Widget? leftMainWidget,
- List<
RuiMenuItem> ? leftMenuButtons, - Widget? headerMainPanel,
- Widget? headerToolsPanel,
- Widget? headerUserPanel,
- Widget? rightPanel,
- List<
PopupMenuEntry> ? rightMenuButtons, - dynamic onRightPanelToggle()?,
- String? initialRoute,
- Map<
String, WidgetBuilder> ? routes = const <String, WidgetBuilder>{}, - VoidCallback? onLogoPressed,
- dynamic onCheckUserLoginStatus<
bool>( - String token
- RouteFactory onGenerateRoute()?,
- dynamic onLeftPanelToggle()?,
Implementation
const RuiScaffold({
super.key,
this.logo,
required this.appName,
this.minWidth = 800,
this.minHeight = 600,
required this.body,
this.leftPanelMinWidth = 120,
this.leftPanelMaxWidth = 400,
this.leftMainWidget,
this.leftMenuButtons,
this.leftFooterWidget,
this.headerMainPanel,
this.headerToolsPanel,
this.headerUserPanel,
this.rightPanel,
this.footerPanel,
this.rightMenuButtons,
this.onRightPanelToggle,
this.initialRoute,
this.routes = const <String, WidgetBuilder>{},
this.onLogoPressed,
this.onCheckUserLoginStatus,
this.onGenerateRoute,
this.onLeftPanelToggle,
});