UpScaffold constructor
const
UpScaffold({
- Key? key,
- PreferredSizeWidget? appBar,
- GlobalKey<
ScaffoldState> ? scaffoldKey, - Color? drawerScrimColor,
- bool endDrawerEnableOpenDragGesture = true,
- Widget? endDrawer,
- bool drawerEnableOpenDragGesture = true,
- Widget? body,
- UpStyle? style,
- UpColorType? colorType,
- Widget? bottomSheet,
- Widget? drawer,
- double? drawerEdgeDragWidth,
- String? restorationId,
- Widget? floatingActionButton,
- DragStartBehavior? drawerDragStartBehavior = DragStartBehavior.start,
- bool extendBody = false,
- bool? resizeToAvoidBottomInset,
- bool extendBodyBehindAppBar = false,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- void onDrawerChanged()?,
- void onEndDrawerChanged()?,
- bool primary = true,
Implementation
const UpScaffold({
super.key,
this.appBar,
this.scaffoldKey,
this.drawerScrimColor,
this.endDrawerEnableOpenDragGesture = true,
this.endDrawer,
this.drawerEnableOpenDragGesture = true,
this.body,
this.style,
this.colorType,
this.bottomSheet,
this.drawer,
this.drawerEdgeDragWidth,
this.bottomNavigationBar,
this.restorationId,
this.floatingActionButton,
this.drawerDragStartBehavior = DragStartBehavior.start,
this.extendBody = false,
this.resizeToAvoidBottomInset,
this.extendBodyBehindAppBar = false,
this.floatingActionButtonAnimator,
this.floatingActionButtonLocation,
this.onDrawerChanged,
this.onEndDrawerChanged,
this.persistentFooterButtons,
this.persistentFooterAlignment = AlignmentDirectional.centerEnd,
this.primary = true,
});