VirtualKey constructor
VirtualKey({})
Implementation
VirtualKey({
this.label,
this.type = KeyType.character,
this.icon,
this.iconAlignment = Alignment.topCenter,
this.decoration,
this.textStyle,
}) : assert(
(type != KeyType.character || label != null),
'Character keys must have a label',
);