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