TScaffold constructor
TScaffold({
- Key? key,
- required Widget? body,
- BoxConstraints? customBoxConstraints,
- PreferredSizeWidget? appBar,
- Color? backgroundColor,
- Widget? bottomSheet,
- Widget? drawer,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- Color? drawerScrimColor,
- Widget? endDrawer,
- bool endDrawerEnableOpenDragGesture = true,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- Widget? floatingActionButton,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- void onDrawerChanged()?,
- void onEndDrawerChanged()?,
- bool primary = true,
- bool? resizeToAvoidBottomInset,
- String? restorationId,
Implementation
TScaffold({
super.key,
required this.body,
this.customBoxConstraints,
this.appBar,
this.backgroundColor,
this.bottomNavigationBar,
this.bottomSheet,
this.drawer,
this.drawerDragStartBehavior = DragStartBehavior.start,
this.drawerEdgeDragWidth,
this.drawerEnableOpenDragGesture = true,
this.drawerScrimColor,
this.endDrawer,
this.endDrawerEnableOpenDragGesture = true,
this.extendBody = false,
this.extendBodyBehindAppBar = false,
this.floatingActionButton,
this.floatingActionButtonAnimator,
this.floatingActionButtonLocation,
this.onDrawerChanged,
this.onEndDrawerChanged,
this.persistentFooterAlignment = AlignmentDirectional.centerEnd,
this.persistentFooterButtons,
this.primary = true,
this.resizeToAvoidBottomInset,
this.restorationId,
});