starHalf static method

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

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

Implementation

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