TextKey constructor
Creates a TextKey that displays and inserts text.
Optionally specify capsText if the uppercase version is different
from the default text.toUpperCase().
Implementation
TextKey(String text, {String? capsText})
: super(
text: text,
capsText: capsText ?? text.toUpperCase(),
keyType: VirtualKeyboardKeyType.String,
);