VirtualKeyboardScaffold constructor

const VirtualKeyboardScaffold({
  1. Key? key,
  2. VirtualKeyboardStyle? keyboardDecorations,
  3. int maxKeysOnKeyboards = 10,
  4. double? maxHeightOfKeyboards,
  5. EdgeInsets keyPadding = const EdgeInsets.all(8),
  6. EdgeInsets keyboardPadding = const EdgeInsets.symmetric(horizontal: 8),
  7. bool? extendBody,
  8. bool? extendBodyBehindAppBar,
  9. PreferredSizeWidget? appBar,
  10. Widget? body,
  11. Widget? floatingActionButton,
  12. FloatingActionButtonLocation? floatingActionButtonLocation,
  13. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  14. List<Widget>? persistentFooterButtons,
  15. AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd,
  16. Widget? drawer,
  17. DrawerCallback? onDrawerChanged,
  18. Widget? endDrawer,
  19. DrawerCallback? onEndDrawerChanged,
  20. Color? drawerScrimColor,
  21. Color? backgroundColor,
  22. Widget? bottomNavigationBar,
  23. Widget? bottomSheet,
  24. bool? resizeToAvoidBottomInset,
  25. bool primary = true,
  26. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  27. double? drawerEdgeDragWidth,
  28. bool drawerEnableOpenDragGesture = true,
  29. bool endDrawerEnableOpenDragGesture = true,
  30. String? restorationId,
})

Implementation

const VirtualKeyboardScaffold({
  super.key,
  this.keyboardDecorations,
  this.maxKeysOnKeyboards = 10,
  this.maxHeightOfKeyboards,
  this.keyPadding = const EdgeInsets.all(8),
  this.keyboardPadding = const EdgeInsets.symmetric(horizontal: 8),
  this.extendBody,
  this.extendBodyBehindAppBar,
  this.appBar,
  this.body,
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.persistentFooterButtons,
  this.persistentFooterAlignment = AlignmentDirectional.centerEnd,
  this.drawer,
  this.onDrawerChanged,
  this.endDrawer,
  this.onEndDrawerChanged,
  this.drawerScrimColor,
  this.backgroundColor,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.resizeToAvoidBottomInset,
  this.primary = true,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = true,
  this.endDrawerEnableOpenDragGesture = true,
  this.restorationId,
});