AppScaffold constructor
const
AppScaffold({
- Key? key,
- required Widget body,
- String? backgroundImage,
- Widget? floatingActionButton,
- List<
Widget> ? actions, - Widget? drawer,
- PreferredSizeWidget? appBar,
- String? title,
- bool centerTitle = true,
- Color? statusBarColor,
- Gradient? customGradientBackground,
- bool isKeyboardAware = false,
- EdgeInsets? padding,
- bool scrollableBody = false,
- Color? backgroundColor,
- double appBarElevation = 4.0,
- Widget? bottomSheet,
- ScrollPhysics? scrollPhysics,
- bool showDrawerIcon = true,
- SystemUiOverlayStyle? preferredStatusBarStyle,
- bool hasBottomSafeAreaPadding = true,
- double toolbarHeight = 20.0,
- Color? bottomSheetBackgroundColor,
- List<
Widget> ? actionButtons, - bool scrollToTopButton = false,
- EdgeInsetsGeometry? margin,
- double? paddingValue = 15.0,
Implementation
const AppScaffold({
Key? key,
required this.body,
this.backgroundImage,
this.floatingActionButton,
this.actions,
this.bottomNavigationBar,
this.drawer,
this.appBar,
this.title,
this.centerTitle = true,
this.statusBarColor,
this.customGradientBackground,
this.isKeyboardAware = false,
this.padding,
this.scrollableBody = false,
this.backgroundColor,
this.appBarElevation = 4.0,
this.bottomSheet,
this.scrollPhysics,
this.showDrawerIcon = true,
this.preferredStatusBarStyle,
this.hasBottomSafeAreaPadding = true,
this.toolbarHeight = 20.0,
this.bottomSheetBackgroundColor,
this.actionButtons,
this.scrollToTopButton = false,
this.margin,
this.topNavButtonBar = false,
this.paddingValue = 15.0,
}) : super(key: key);