NodeStyle

constructor(foregroundColor: Color? = null, backgroundColor: Color? = null, borderColor: Color? = null, borderWidth: Sizes? = null, borderStyle: NodeStyle.BorderStyle? = null, margin: Sizes? = null, padding: Sizes? = null, cornerRadius: Sizes? = null, alignment: NodeStyle.Alignment? = null, textAlignment: NodeStyle.TextAlignment? = null, textTransform: TextTransformData? = null)

Parameters

foregroundColor

text color

backgroundColor

background color

borderColor

border color

borderWidth

border width

borderStyle

border style

margin

whitespace outside the content

padding

whitespace around the content

cornerRadius

border radius of the container

alignment

alignment of the content

textAlignment

alignment of the text

textTransform

transformation applied to the text content