AddressTextField constructor

const AddressTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. required String label,
  5. required String hint,
  6. IconData? prefixIcon,
  7. Widget? suffixIcon,
  8. bool enabled = true,
  9. ValueChanged<String>? onChanged,
  10. String? errorText,
  11. ValueChanged<String>? onErrorCleared,
  12. TextInputType? keyboardType,
  13. int? maxLines = 1,
  14. int? maxLength,
})

Implementation

const AddressTextField({
  super.key,
  this.controller,
  this.initialValue,
  required this.label,
  required this.hint,
  this.prefixIcon,
  this.suffixIcon,
  this.enabled = true,
  this.onChanged,
  this.errorText,
  this.onErrorCleared,
  this.keyboardType,
  this.maxLines = 1,
  this.maxLength,
});