UScaffold constructor
const
UScaffold({
- required Widget body,
- Key? key,
- PreferredSizeWidget? appBar,
- Widget? drawer,
- Widget? endDrawer,
- Widget? floatingActionButton,
- EdgeInsets? padding,
- Color? color,
- BoxDecoration? decoration,
- BoxConstraints? constraints,
- double? width,
- double? height,
- DrawerCallback? onDrawerChanged,
- DrawerCallback? onEndDrawerChanged,
- bool resizeToAvoidBottomInset = false,
- bool extendBodyBehindAppBar = false,
- FloatingActionButtonLocation floatingActionButtonLocation = FloatingActionButtonLocation.endFloat,
- Alignment alignment = Alignment.center,
Implementation
const UScaffold({
required this.body,
super.key,
this.appBar,
this.drawer,
this.endDrawer,
this.floatingActionButton,
this.bottomNavigationBar,
this.padding,
this.color,
this.decoration,
this.constraints,
this.width,
this.height,
this.onDrawerChanged,
this.onEndDrawerChanged,
this.resizeToAvoidBottomInset = false,
this.extendBodyBehindAppBar = false,
this.floatingActionButtonLocation = FloatingActionButtonLocation.endFloat,
this.alignment = Alignment.center,
});