graduationCap static method

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

regular: graduation-cap thin: graduation-cap light: graduation-cap bold: graduation-cap fill: graduation-cap duotone: graduation-cap

Implementation

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