paragraph_break

Function paragraph_break 

Source
pub fn paragraph_break(
    child: impl IntoUiNode,
    mode: impl IntoVar<ParagraphBreak>,
) -> UiNode
Expand description

P Defines paragraphs in the text.

In the base Text! widget this defines how paragraph_spacing and paragraph_indent are applied.

Other rich text widgets usually segment paragraphs into widgets and may ignore this property, depending on the source text format.

Sets the PARAGRAPH_BREAK_VAR.