pub fn required(child: impl UiNode, required: impl IntoVar<bool>) -> impl UiNode
P Indicates that user input is required on the widget before a form may be submitted.
P