CommonScaffold constructor
CommonScaffold({
- String appTitle = '',
- required Widget bodyData,
- Decoration? bodyDecoration,
- bool centerTitle = true,
- bool showFAB = false,
- dynamic showDrawer = false,
- dynamic drawer,
- dynamic endDrawer,
- Color? backGroundColor = UIData.windowBg,
- dynamic actionFirstIcon = Icons.search,
- dynamic scaffoldKey,
- dynamic actionButtons,
- dynamic appBar,
- dynamic centerDocked = false,
- dynamic floatingIcon,
- double elevation = 0.0,
- bool isLoading = false,
- bool isBackLoading = false,
- bool hasLeading = true,
- bool hideAppbar = false,
- bool safeBody = true,
- bool noAppBar = false,
- bool noStatusBar = false,
- bool statusBarPadding = false,
- Function? onBack,
- bool noLeadingBack = false,
- bool hasNoWrapper = false,
- bool drawBottom = false,
- bool isEmpty = false,
- Color? appColor = UIData.windowBg,
- Color? titleColor = UIData.pureWhite,
- double? height,
- Function? onBodyClick,
- Color drawBottomColor = UIData.windowBg,
- bool isDarkLeading = false,
- bool? isBodyLoading,
- Widget? loadingView,
Implementation
CommonScaffold({
this.appTitle = '',
required this.bodyData,
this.bodyDecoration,
this.centerTitle = true,
this.showFAB = false,
this.showDrawer = false,
this.drawer,
this.endDrawer,
this.backGroundColor = UIData.windowBg,
this.actionFirstIcon = Icons.search,
this.scaffoldKey,
this.actionButtons,
this.appBar,
this.showBottomNav = true,
this.bottomNav,
this.centerDocked = false,
this.floatingIcon,
this.elevation = 0.0,
this.isLoading = false,
this.isBackLoading = false,
this.hasLeading = true,
this.hideAppbar = false,
this.safeBody = true,
this.noAppBar = false,
this.noStatusBar = false,
this.statusBarPadding = false,
this.onBack,
this.noLeadingBack = false,
this.hasNoWrapper = false,
this.drawBottom = false,
this.isEmpty = false,
this.appColor = UIData.windowBg,
this.titleColor = UIData.pureWhite,
this.height,
this.onBodyClick,
this.drawBottomColor = UIData.windowBg,
this.isDarkLeading = false,
this.isBodyLoading,
this.loadingView,
});