triangle static method

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

regular: triangle thin: triangle light: triangle bold: triangle fill: triangle duotone: triangle

Implementation

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