PillElement constructor
Rounded pill badge with dynamic text and optional tint colour. Suitable for short status labels (e.g. “Offline”, rank numbers).
public PillElement(Func<string> Text, Func<ColorRgba?>? Color = null)| parameter | description |
|---|---|
| Text | Dynamic text displayed inside the pill; re-pulled each refresh. |
| Color | Optional tint override; null (or returning null) uses the framework default pill colour. |
See Also
Section titled “See Also”- struct ColorRgba
- record PillElement
- namespace Stellar.Abstractions.Services