AdaptiveTextField constructor

const AdaptiveTextField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String label,
  4. String? hint,
  5. bool obscure = false,
  6. TextInputType keyboardType = TextInputType.text,
  7. Widget? prefixIcon,
  8. Widget? suffixIcon,
  9. FormFieldValidator<String>? validator,
  10. ValueChanged<String>? onChanged,
})

Implementation

const AdaptiveTextField({
  super.key,
  required this.controller,
  required this.label,
  this.hint,
  this.obscure = false,
  this.keyboardType = TextInputType.text,
  this.prefixIcon,
  this.suffixIcon,
  this.validator,
  this.onChanged,
});