warningDiamond static method

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

regular: warning-diamond thin: warning-diamond light: warning-diamond bold: warning-diamond fill: warning-diamond duotone: warning-diamond

Implementation

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