scan static method

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

regular: scan thin: scan light: scan bold: scan fill: scan duotone: scan

Implementation

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