KbdProps.key constructor

const KbdProps.key(
  1. String key, {
  2. KbdStyle variant = KbdStyle.raised,
  3. ComponentSize size = ComponentSize.md,
  4. ArcaneStyleData? styles,
  5. ArcaneDecoration? decoration,
})

Implementation

const KbdProps.key(
  String key, {
  this.variant = KbdStyle.raised,
  this.size = ComponentSize.md,
  this.styles,
  this.decoration,
}) : keyText = key,
     keys = null,
     separator = '+';