VirtualKeyboard constructor

VirtualKeyboard({
  1. Key? key,
  2. required VirtualKeyboardType type,
  3. Function? onKeyPress,
  4. Widget builder(
    1. BuildContext context,
    2. VirtualKeyboardKey key
    )?,
  5. double? width,
  6. List<VirtualKeyboardDefaultLayouts>? defaultLayouts,
  7. VirtualKeyboardLayoutKeys? customLayoutKeys,
  8. TextEditingController? textController,
  9. bool reverseLayout = false,
  10. double height = _virtualKeyboardDefaultHeight,
  11. Color textColor = Colors.black,
  12. double fontSize = 14,
  13. bool alwaysCaps = false,
})

Implementation

VirtualKeyboard(
    {Key? key,
    required this.type,
    this.onKeyPress,
    this.builder,
    this.width,
    this.defaultLayouts,
    this.customLayoutKeys,
    this.textController,
    this.reverseLayout = false,
    this.height = _virtualKeyboardDefaultHeight,
    this.textColor = Colors.black,
    this.fontSize = 14,
    this.alwaysCaps = false})
    : super(key: key);