GooglePlaceTextField constructor
GooglePlaceTextField({
- required TextEditingController textEditingController,
- required String googleAPIKey,
- int debounceTime = 600,
- InputDecoration inputDecoration = const InputDecoration(),
- ItemClick? itemClick,
- bool isLatLngRequired = true,
- TextStyle textStyle = const TextStyle(),
- List<
String> ? countries, - GetPlaceDetailswWithLatLng? getPlaceDetailWithLatLng,
- ListItemBuilder? itemBuilder,
- BoxDecoration? boxDecoration,
- bool isCrossBtnShown = true,
- Widget? seperatedBuilder,
- bool showError = true,
- double? containerHorizontalPadding,
- double? containerVerticalPadding,
- FocusNode? focusNode,
- PlaceType? placeType,
- String? language = 'en',
- ItemClickData? itemClickData,
Implementation
GooglePlaceTextField({required this.textEditingController,
required this.googleAPIKey,
this.debounceTime = 600,
this.inputDecoration = const InputDecoration(),
this.itemClick,
this.isLatLngRequired = true,
this.textStyle = const TextStyle(),
this.countries,
this.getPlaceDetailWithLatLng,
this.itemBuilder,
this.boxDecoration,
this.isCrossBtnShown = true,
this.seperatedBuilder,
this.showError = true,
this.containerHorizontalPadding,
this.containerVerticalPadding,
this.focusNode,
this.placeType,
this.language = 'en',
this.itemClickData});