LocationInputField constructor

const LocationInputField({
  1. Key? key,
  2. required TextEditingController controller,
  3. bool obscureText = false,
  4. bool enabled = true,
  5. void onChanged(
    1. String
    )?,
  6. void onEditingComplete()?,
  7. void onSubmitted(
    1. String
    )?,
  8. void onTap()?,
  9. void onPrefixIconTap()?,
  10. TextInputType? keyboardType,
  11. List<TextInputFormatter>? inputFormatters,
  12. bool? enableInteractiveSelection,
  13. TextInputAction? textInputAction,
  14. int? maxLength,
  15. int maxLines = 1,
  16. Widget? prefixIcon,
  17. Widget? prefix,
  18. Widget? suffix,
  19. bool? errorFlag = false,
  20. String? errorMessage = '',
  21. double? height,
  22. double? width,
  23. String? hintText,
  24. Widget? label,
  25. TextCapitalization textCapitalization = TextCapitalization.none,
})

Implementation

const LocationInputField({Key? key,
  required this.controller,
  this.obscureText=false,
  this.enabled=true,
  this.onChanged,
  this.onEditingComplete,
  this.onSubmitted,
  this.onTap,
  this.onPrefixIconTap,
  this.keyboardType,
  this.inputFormatters,
  this.enableInteractiveSelection,
  this.textInputAction,
  this.maxLength,
  this.maxLines=1,
  this.prefixIcon,
  this.prefix,
  this.suffix,
  this.errorFlag=false,
  this.errorMessage='',
  this.height,
  this.width,
  this.hintText,
  this.label,
  this.textCapitalization = TextCapitalization.none
}) : super(key: key);