FormFieldConfig constructor

const FormFieldConfig({
  1. required String label,
  2. String? placeholder,
  3. bool masked = false,
  4. String maskChar = '•',
  5. bool allowReveal = false,
  6. bool required = false,
  7. String? validator(
    1. String text
    )?,
  8. String? initialValue,
})

Implementation

const FormFieldConfig({
  required this.label,
  this.placeholder,
  this.masked = false,
  this.maskChar = '•',
  this.allowReveal = false,
  this.required = false,
  this.validator,
  this.initialValue,
});