VirtualKeyboardScaffold constructor
const
VirtualKeyboardScaffold({
- Key? key,
- VirtualKeyboardStyle? keyboardDecorations,
- int maxKeysOnKeyboards = 10,
- double? maxHeightOfKeyboards,
- EdgeInsets keyPadding = const EdgeInsets.all(8),
- EdgeInsets keyboardPadding = const EdgeInsets.symmetric(horizontal: 8),
- bool? extendBody,
- bool? extendBodyBehindAppBar,
- PreferredSizeWidget? appBar,
- Widget? body,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- Color? drawerScrimColor,
- Color? backgroundColor,
- Widget? bottomSheet,
- bool? resizeToAvoidBottomInset,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- 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,
});