VTextField constructor

const VTextField({
  1. Key? key,
  2. required String label,
  3. required TextEditingController controller,
  4. VTextFieldType type = VTextFieldType.text,
  5. String? hint,
  6. String? description,
  7. bool enabled = true,
  8. bool required = false,
  9. double? width,
  10. String? validator(
    1. String?
    )?,
  11. int? minPasswordLength = 6,
})

Implementation

const VTextField({
  super.key,
  required this.label,
  required this.controller,
  this.type = VTextFieldType.text,
  this.hint,
  this.description,
  this.enabled = true,
  this.required = false,
  this.width,
  this.validator,
  this.minPasswordLength = 6,
});