palette static method

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

regular: palette thin: palette light: palette bold: palette fill: palette duotone: palette

Implementation

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