HIcon
Class
Fields
align: StyleEnum <Text Anchor>
color: Style Color
font: Style Font Definition
fontSize: Style Length
text: string
Constructors
HIcon(icon: char, font: Font Definition, size: Nullable <Style Length>, color: Nullable <Style Color>, align: Nullable <Text Anchor>, key: Key, constants: object[], modifiers: IReadOnlyCollection <Modifier>)
Creates a wrapper widget around Label that is optimized for displaying font based icons.
Parameters
icon:
char - The Unicode character of the icon.font:
Font Definition - The font to use for the icon.size:
Nullable <Style Length> - The font size to use for the icon.color:
Nullable <Style Color> - The color to use for the icon.align:
Nullable <Text Anchor> - The alignment to use for the icon.key:
Key - Passed on to Widget.key.constants:
object[] - Passed on to Widget.constants.modifiers:
IReadOnlyCollection <Modifier> - Passed on to Widget.modifiers.HIcon(text: string, font: Font Definition, size: Nullable <Style Length>, color: Nullable <Style Color>, align: Nullable <Text Anchor>, key: Key, constants: object[], modifiers: IReadOnlyCollection <Modifier>)
Creates a wrapper widget around Label that is optimized for displaying font based icons.
Parameters
text:
string - The textual content to display.font:
Font Definition - The font to use for the icon.size:
Nullable <Style Length> - The font size to use for the icon.color:
Nullable <Style Color> - The color to use for the icon.align:
Nullable <Text Anchor> - The alignment to use for the icon.key:
Key - Passed on to Widget.key.constants:
object[] - Passed on to Widget.constants.modifiers:
IReadOnlyCollection <Modifier> - Passed on to Widget.modifiers.Methods
Create(): Label
DebugFillProperties(properties: Diagnostic Properties Builder): void
Inherited Members
Extension Methods
To Diagnostics Node SafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTight StretchTightVisibilityWith ModifierTo BuildableTo FactoryDescribe IdentityShort HashTo String Nullable