Header menu logo Nao

BoxStyle Type

Block / box-level visual styling: background, spacing, sizing and border. All fields optional for the same inherit-by-default reason as `TextStyle`.

Record fields

Record Field Description

Background

Full Usage: Background

Field type: Color option
Field type: Color option

Border

Full Usage: Border

Field type: Border option
Field type: Border option

Height

Full Usage: Height

Field type: Length option
Field type: Length option

Margin

Full Usage: Margin

Field type: Edges option
Field type: Edges option

MaxWidth

Full Usage: MaxWidth

Field type: Length option
Field type: Length option

MinWidth

Full Usage: MinWidth

Field type: Length option
Field type: Length option

Padding

Full Usage: Padding

Field type: Edges option
Field type: Edges option

TextAlign

Full Usage: TextAlign

Field type: TextAlign option

Default text alignment for inline content inside this box.

Field type: TextAlign option

Width

Full Usage: Width

Field type: Length option
Field type: Length option

Static members

Static member Description

BoxStyle.Default

Full Usage: BoxStyle.Default

Returns: BoxStyle
Returns: BoxStyle

Type something to start searching.