function static method

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

regular: function thin: function light: function bold: function fill: function duotone: function

Implementation

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