yarn static method

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

regular: yarn thin: yarn light: yarn bold: yarn fill: yarn duotone: yarn

Implementation

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