CustomScaffold constructor

const CustomScaffold({
  1. Key? key,
  2. required Widget child,
  3. required List<DrawerItem> drawerItems,
  4. Color? backgroundColor,
  5. Color? appbarColor,
  6. bool isRtl = false,
  7. String? appName,
  8. bool showUser = true,
  9. bool showNotification = true,
  10. bool showUserData = true,
  11. Widget? userIcon,
  12. String? userName,
  13. String? userRole,
  14. bool isFloating = false,
  15. bool isDark = true,
  16. double? appBarRadius,
  17. 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);