InputField constructor

InputField({
  1. required InputFieldType type,
  2. String? name,
  3. String? value,
  4. String? label,
  5. int? maxLength,
  6. required bool isRequired,
  7. List<OptionItem>? optionsList,
  8. Map<String, List<OptionItem>>? optionsMap,
  9. String? hint,
  10. int? minLength,
  11. required bool readOnly,
  12. String? dependsOn,
})

Implementation

InputField({
  required this.type,
  this.name,
  this.value,
  this.label,
  this.maxLength,
  required this.isRequired,
  this.optionsList,
  this.optionsMap,
  this.hint,
  this.minLength,
  required this.readOnly,
  this.dependsOn,
});