pub fn txt(wgt: &mut WidgetBuilding, txt: impl IntoVar<Txt>)Expand description
B The text string.
In a text widget this property is captured, in other widgets sets the child node to a text widget.
ยงMixin Property
This property is a mixin, it modifies the widget builder during build, it does not produce a standalone UI node.