YmFormItemInput constructor
YmFormItemInput(
- String text, {
- String label = "",
- required dynamic onTextChanged(
- String text
- String hintText = "请输入",
- Size size = const Size(120, 44),
- double fontSize = 14,
- Color textColor = const Color(0xff666666),
- Color labelTextColor = const Color(0xff333333),
- List<
TextInputFormatter> inputFormatters = const [], - bool required = false,
- FocusNode? focusNode,
Implementation
YmFormItemInput(
this.text, {
this.label = "",
required this.onTextChanged,
this.hintText = "请输入",
this.size = const Size(120, 44),
this.fontSize = 14,
this.textColor = const Color(0xff666666),
this.labelTextColor = const Color(0xff333333),
this.inputFormatters = const [],
this.required = false,
this.focusNode,
});