FormInput constructor

const FormInput({
  1. Key? key,
  2. String? title,
  3. required String bindKey,
  4. bool isRequired = false,
  5. double height = 50,
  6. String initialValue = "",
  7. bool readOnly = false,
  8. int maxLines = 1,
  9. int minLines = 1,
  10. double titleFontSize = 12,
  11. bool? isWarning = false,
  12. String? warningText = "",
  13. FontWeight titleFontWeight = FontWeight.normal,
  14. FocusNode? focusNode,
  15. dynamic onChanged(
    1. String?
    )?,
})

Implementation

const FormInput({
  super.key,
  this.title,
  required this.bindKey,
  this.isRequired = false,
  this.height = 50,
  this.initialValue = "",
  this.readOnly = false,
  this.maxLines = 1,
  this.minLines = 1,
  this.titleFontSize = 12,
  this.isWarning = false,
  this.warningText = "",
  this.titleFontWeight = FontWeight.normal,
  this.focusNode,
  this.onChanged,
});