GuardField constructor

const GuardField({
  1. Key? key,
  2. required String name,
  3. String? label,
  4. String? hint,
  5. bool obscureText = false,
  6. TextInputType? keyboardType,
  7. List<String? Function(dynamic)>? validators,
  8. String? validator(
    1. dynamic
    )?,
})

Implementation

const GuardField({
  super.key,
  required this.name,
  this.label,
  this.hint,
  this.obscureText = false,
  this.keyboardType,
  this.validators,
  this.validator,
});