leaf static method

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

regular: leaf thin: leaf light: leaf bold: leaf fill: leaf duotone: leaf

Implementation

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