text static method
Implementation
static TFormField<String> text(
TFieldProp<String> prop,
String? label, {
String? tag,
String? placeholder,
String? helperText,
bool isRequired = false,
bool disabled = false,
List<String? Function(String?)>? rules,
int? rows,
}) {
return TFormField<String>(
prop: prop,
builder: (onValueChanged) => TTextField(
label: label,
tag: tag,
placeholder: placeholder,
helperText: helperText,
isRequired: isRequired,
disabled: disabled,
rules: rules,
value: prop.value,
valueNotifier: prop.valueNotifier,
onValueChanged: onValueChanged,
rows: rows,
),
);
}