VirtualKeyboard constructor
const
VirtualKeyboard({
- Key? key,
- required KeyboardConfigController configurationController,
- required KeyboardViewInsetsState? insetsState,
- VirtualKeyboardStyle? decorations,
- int maxKeys = 10,
- double? maxHeight,
- EdgeInsets keyPadding = const EdgeInsets.all(8),
- EdgeInsets keyboardPadding = const EdgeInsets.symmetric(horizontal: 8),
Implementation
const VirtualKeyboard({
super.key,
required this.configurationController,
required this.insetsState,
this.decorations,
this.maxKeys = 10,
this.maxHeight,
this.keyPadding = const EdgeInsets.all(8),
this.keyboardPadding = const EdgeInsets.symmetric(horizontal: 8),
}) : assert(insetsState != null,
'The KeyboardViewInsetsState does not exist. Most probably you forgot to initiate KeyboardViewInsets, or the context is from the upper widget tree and does not contain the KeyboardViewInsets widget.');