YmFormItemInput constructor

YmFormItemInput(
  1. String text, {
  2. String label = "",
  3. required dynamic onTextChanged(
    1. String text
    ),
  4. String hintText = "请输入",
  5. Size size = const Size(120, 44),
  6. double fontSize = 14,
  7. Color textColor = const Color(0xff666666),
  8. Color labelTextColor = const Color(0xff333333),
  9. List<TextInputFormatter> inputFormatters = const [],
  10. bool required = false,
  11. 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,
});