VirtualKeyboard constructor
const
VirtualKeyboard({})
Display a simulated on screen keyboard on top of the given child widget.
When isEnabled is updated, a transitionDuration starts to display or hide the virtual keyboard.
No interraction is available, its only purpose is to display
the visual and update media query's viewInsets
for child.
Implementation
const VirtualKeyboard({
Key? key,
required this.child,
this.isEnabled = false,
this.transitionDuration = const Duration(milliseconds: 400),
}) : super(key: key);