key static method

PhosphorIconData key([
  1. PhosphorIconsStyle style = PhosphorIconsStyle.regular
])

regular: key thin: key light: key bold: key fill: key duotone: key

Implementation

static PhosphorIconData key(
    [PhosphorIconsStyle style = PhosphorIconsStyle.regular]) {
  switch (style) {
    case PhosphorIconsStyle.regular:
      return PhosphorIconsRegular.key;
    case PhosphorIconsStyle.thin:
      return PhosphorIconsThin.key;
    case PhosphorIconsStyle.light:
      return PhosphorIconsLight.key;
    case PhosphorIconsStyle.bold:
      return PhosphorIconsBold.key;
    case PhosphorIconsStyle.fill:
      return PhosphorIconsFill.key;
    case PhosphorIconsStyle.duotone:
      return PhosphorIconsDuotone.key;
  }
}