DynamicTextField constructor

const DynamicTextField({
  1. required TextEditingController textDynamicController,
  2. required String title,
  3. String? titleList,
  4. String? hintSearch,
  5. required String hint,
  6. List<SelectedItem>? listItem,
  7. FieldType? fieldtype = FieldType.input,
  8. FormType? formType = FormType.basic,
  9. InputDecoration? inputDecoration,
  10. Color? backgroundColor,
  11. String? validator(
    1. String?
    )?,
  12. void onChanged(
    1. String
    )?,
  13. void onSaved(
    1. String?
    )?,
  14. AutovalidateMode? autovalidateMode,
  15. TextInputType? keyboardType,
  16. TextInputAction? textInputAction,
  17. int? maxLength,
  18. Key? key,
})

Implementation

const DynamicTextField({
  required this.textDynamicController,
  required this.title,
  this.titleList,
  this.hintSearch,
  required this.hint,
  this.listItem,
  this.fieldtype = FieldType.input,
  this.formType = FormType.basic,
  this.inputDecoration,
  this.backgroundColor,
  this.validator,
  this.onChanged,
  this.onSaved,
  this.autovalidateMode,
  this.keyboardType,
  this.textInputAction,
  this.maxLength,
  Key? key,
}) : super(key: key);