textAlignCenter static method

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

regular: text-align-center thin: text-align-center light: text-align-center bold: text-align-center fill: text-align-center duotone: text-align-center

Implementation

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