KbdProps constructor
const
KbdProps({
- String? keyText,
- List<
String> ? keys, - String separator = '+',
- KbdStyle variant = KbdStyle.raised,
- ComponentSize size = ComponentSize.md,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
Implementation
const KbdProps({
this.keyText,
this.keys,
this.separator = '+',
this.variant = KbdStyle.raised,
this.size = ComponentSize.md,
this.styles,
this.decoration,
}) : assert(keyText != null || keys != null,
'Either keyText or keys must be provided');