GooglePlaceTextField constructor

GooglePlaceTextField({
  1. required TextEditingController textEditingController,
  2. required String googleAPIKey,
  3. int debounceTime = 600,
  4. InputDecoration inputDecoration = const InputDecoration(),
  5. ItemClick? itemClick,
  6. bool isLatLngRequired = true,
  7. TextStyle textStyle = const TextStyle(),
  8. List<String>? countries,
  9. GetPlaceDetailswWithLatLng? getPlaceDetailWithLatLng,
  10. ListItemBuilder? itemBuilder,
  11. BoxDecoration? boxDecoration,
  12. bool isCrossBtnShown = true,
  13. Widget? seperatedBuilder,
  14. bool showError = true,
  15. double? containerHorizontalPadding,
  16. double? containerVerticalPadding,
  17. FocusNode? focusNode,
  18. PlaceType? placeType,
  19. String? language = 'en',
  20. 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});