UFUPlaceAutoComplete constructor

const UFUPlaceAutoComplete({
  1. Key? key,
  2. Widget? backButton,
  3. required String apiKey,
  4. String? searchHintText,
  5. Map<String, String>? placesAPIHeader,
  6. UFUAddressModel? address,
  7. UFUInputBoxController? textController,
  8. Widget? suffixIcon,
  9. Widget? prefixIcon,
  10. dynamic onDecodeAddress(
    1. UFUAddressModel?
    )?,
  11. Color? borderColor,
  12. UFUTextSize textSize = UFUTextSize.heading4,
  13. UFUFontWeight fontWeight = UFUFontWeight.regular,
  14. Widget? trailing,
  15. bool showClearButton = true,
  16. dynamic onTextChange(
    1. String?
    )?,
})

Implementation

const UFUPlaceAutoComplete({
  super.key,
  this.backButton,
  required this.apiKey,
  this.searchHintText,
  this.placesAPIHeader,
  this.address,
  this.textController,
  this.suffixIcon,
  this.prefixIcon,
  this.onDecodeAddress,
  this.borderColor,
  this.textSize = UFUTextSize.heading4,
  this.fontWeight = UFUFontWeight.regular,
  this.trailing,
  this.showClearButton = true,
  this.onTextChange,
});