Std.Ui.Layout.text
1 declaration
fn
text: Str -> Std.Ui.Layout.ViewThis is a callable function.
What it does
A leaf showing text, measured by its face and named by what it says.
Non-empty text is a Label whose accessible name is the text itself, so a
label can never be read aloud as something other than what is drawn. Empty
text is decoration.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
