TScaffold constructor

TScaffold({
  1. Key? key,
  2. required Widget? body,
  3. BoxConstraints? customBoxConstraints,
  4. PreferredSizeWidget? appBar,
  5. Color? backgroundColor,
  6. Widget? bottomNavigationBar,
  7. Widget? bottomSheet,
  8. Widget? drawer,
  9. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  10. double? drawerEdgeDragWidth,
  11. bool drawerEnableOpenDragGesture = true,
  12. Color? drawerScrimColor,
  13. Widget? endDrawer,
  14. bool endDrawerEnableOpenDragGesture = true,
  15. bool extendBody = false,
  16. bool extendBodyBehindAppBar = false,
  17. Widget? floatingActionButton,
  18. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  19. FloatingActionButtonLocation? floatingActionButtonLocation,
  20. void onDrawerChanged(
    1. bool
    )?,
  21. void onEndDrawerChanged(
    1. bool
    )?,
  22. AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd,
  23. List<Widget>? persistentFooterButtons,
  24. bool primary = true,
  25. bool? resizeToAvoidBottomInset,
  26. 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,
});