UFUPlaceAutoComplete constructor
const
UFUPlaceAutoComplete({
- Key? key,
- Widget? backButton,
- required String apiKey,
- String? searchHintText,
- Map<
String, String> ? placesAPIHeader, - UFUAddressModel? address,
- UFUInputBoxController? textController,
- Widget? suffixIcon,
- Widget? prefixIcon,
- dynamic onDecodeAddress()?,
- Color? borderColor,
- UFUTextSize textSize = UFUTextSize.heading4,
- UFUFontWeight fontWeight = UFUFontWeight.regular,
- Widget? trailing,
- bool showClearButton = true,
- dynamic onTextChange()?,
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,
});