image static method

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

regular: image thin: image light: image bold: image fill: image duotone: image

Implementation

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