gradient static method

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

regular: gradient thin: gradient light: gradient bold: gradient fill: gradient duotone: gradient

Implementation

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