SeoActionFormField constructor

const SeoActionFormField({
  1. required String name,
  2. required String label,
  3. required SeoActionFormFieldKind kind,
  4. String? description,
  5. bool required = false,
  6. int minLength = 0,
  7. int? maxLength,
  8. SeoActionFormAutocomplete autocomplete = SeoActionFormAutocomplete.off,
  9. String? choicePrompt,
  10. List<SeoActionFormOption> options = const [],
  11. String? initialValue,
  12. bool initialConsent = false,
})

Implementation

const SeoActionFormField({
  required this.name,
  required this.label,
  required this.kind,
  this.description,
  this.required = false,
  this.minLength = 0,
  this.maxLength,
  this.autocomplete = SeoActionFormAutocomplete.off,
  this.choicePrompt,
  this.options = const [],
  this.initialValue,
  this.initialConsent = false,
});