letter_spacing

Function letter_spacing 

Source
pub fn letter_spacing(
    child: impl IntoUiNode,
    extra: impl IntoVar<Length>,
) -> UiNode
Expand description

P Extra spacing added in between text letters.

Letter spacing is computed using the font data, this unit represents extra space added to the computed spacing.

A “letter” is a character glyph cluster, e.g.: a, â, 1, -, .

The Default value signals that letter spacing can be tweaked when text justification is enabled, all other values disable automatic adjustments for justification inside words.

Relative values are computed from the length of the space ' ' character.

This property sets the LETTER_SPACING_VAR context var that affects all inner texts.