TFormRow.input constructor
TFormRow.input({
- String? tag,
- String title = "",
- String? value = "",
- String? placeholder = "请输入",
- bool? require = true,
- bool? requireStar = false,
- bool? enabled = true,
- String? requireMsg,
- void onChanged()?,
- bool validator()?,
- Widget suffixWidget()?,
- int? maxLength,
- TFormFieldConfig? fieldConfig,
- int? maxLines,
- TextInputType? keyboardType,
- OverlayVisibilityMode? clearButtonMode = OverlayVisibilityMode.editing,
- bool? obscureText,
- dynamic state,
- TextAlign? textAlign = TextAlign.left,
输入
Implementation
TFormRow.input({
this.tag,
this.title = "",
this.value = "",
this.placeholder = "请输入",
this.require = true,
this.requireStar = false,
this.enabled = true,
this.requireMsg,
this.onChanged,
this.validator,
this.suffixWidget,
this.maxLength,
this.fieldConfig,
this.maxLines,
this.keyboardType,
this.clearButtonMode = OverlayVisibilityMode.editing,
this.obscureText,
this.state,
this.textAlign = TextAlign.left,
}) {
type = TFormRowTypeInput;
}