Reference

BoxStyle

How a (text) box should be painted

Properties

  • backgroundColor

    The color of the background fill. null is interpreted as *no fill*

    string | null
  • borderColor

    The color of the border (or null if there is no border) null is interpreted as *no border*

    string | null
  • borderRadius

    The border-radius. If set, these values are used to calculate rounded corners for the box. null is interpreted as *no rounded corners

  • color

    The color of the foreground/text. If this value is null the default foreground color is used.

    string | null
  • padding

    The padding of the box (on all four side) in pixels. If this value is null, the default padding is used

    Insets | null
  • shadow

    The shadow. null is interpreted as *no shadow*

    Shadow | null