swatches static method

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

regular: swatches thin: swatches light: swatches bold: swatches fill: swatches duotone: swatches

Implementation

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