star static method

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

regular: star thin: star light: star bold: star fill: star duotone: star

Implementation

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