UScaffold constructor
const
UScaffold({
- required Widget body,
- Key? key,
- PreferredSizeWidget? appBar,
- Widget? drawer,
- Widget? endDrawer,
- Widget? floatingActionButton,
- Widget? bottomSheet,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Color? color,
- BoxDecoration? decoration,
- BoxConstraints? constraints,
- double? width,
- double? height,
- DrawerCallback? onDrawerChanged,
- DrawerCallback? onEndDrawerChanged,
- bool? resizeToAvoidBottomInset,
- bool extendBodyBehindAppBar = false,
- bool extendBody = false,
- bool primary = true,
- Color? drawerScrimColor,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Alignment? alignment,
- bool safeArea = true,
- EdgeInsets safeAreaEdges = EdgeInsets.zero,
Implementation
const UScaffold({
required this.body,
super.key,
this.appBar,
this.drawer,
this.endDrawer,
this.floatingActionButton,
this.bottomNavigationBar,
this.bottomSheet,
this.persistentFooterButtons,
this.padding,
this.margin,
this.color,
this.decoration,
this.constraints,
this.width,
this.height,
this.onDrawerChanged,
this.onEndDrawerChanged,
this.resizeToAvoidBottomInset,
this.extendBodyBehindAppBar = false,
this.extendBody = false,
this.primary = true,
this.drawerScrimColor,
this.floatingActionButtonLocation,
this.floatingActionButtonAnimator,
this.alignment,
this.safeArea = true,
this.safeAreaEdges = EdgeInsets.zero,
});