JxTextField constructor

const JxTextField({
  1. required String id,
  2. required String label,
  3. InputType type = InputType.text,
  4. String? name,
  5. String? value,
  6. String? placeholder,
  7. String? hint,
  8. String? error,
  9. bool required = false,
  10. bool disabled = false,
  11. ValueChanged<String>? onInput,
  12. String? classes,
  13. Key? key,
})

Implementation

const JxTextField({
  required this.id,
  required this.label,
  this.type = InputType.text,
  this.name,
  this.value,
  this.placeholder,
  this.hint,
  this.error,
  this.required = false,
  this.disabled = false,
  this.onInput,
  this.classes,
  super.key,
});