Text
Usage
let text = text!(text: "Some text");
Return Entity
of the widget which must be used inside a containable widget.
Example
let boss = text!(text: "Hello Boss");
let world = text!(text: "Hello World");
container!(children: [boss, world]);
Required attribute
- text
Available attributes
- id
- class
- color