CustomScaffold constructor
const
CustomScaffold({
- Key? key,
- required Widget child,
- required List<
DrawerItem> drawerItems, - Color? backgroundColor,
- Color? appbarColor,
- bool isRtl = false,
- String? appName,
- Widget? logo,
- bool showUser = true,
- bool showNotification = true,
- bool showUserData = true,
- Widget? userIcon,
- String? userName,
- String? userRole,
- bool isFloating = false,
- bool isDark = true,
- double? appBarRadius,
- double horizontalPadding = 24,
Implementation
const CustomScaffold(
{Key? key,
required this.child,
required this.drawerItems,
this.backgroundColor,
this.appbarColor,
this.isRtl = false,
this.appName,
this.logo,
this.showUser = true,
this.showNotification = true,
this.showUserData = true,
this.userIcon,
this.userName,
this.userRole,
this.isFloating = false,
this.isDark = true,
this.appBarRadius,
this.horizontalPadding = 24})
: super(key: key);