KbdProps constructor

const KbdProps({
  1. String? keyText,
  2. List<String>? keys,
  3. String separator = '+',
  4. KbdStyle variant = KbdStyle.raised,
  5. ComponentSize size = ComponentSize.md,
  6. ArcaneStyleData? styles,
  7. 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');