TPlaceAutoComplete constructor

const TPlaceAutoComplete({
  1. Key? key,
  2. required ValueChanged<TPlaceResult> onPlaceSelected,
  3. String? googleMapApiKey,
  4. TLoadListener<TPlaceResult>? onLoad,
  5. int limit = 5,
  6. String? label,
  7. String? placeholder,
  8. TLabelPosition? labelPosition = TLabelPosition.aboveField,
  9. TGooglePlacesConfig? config,
})

Implementation

const TPlaceAutoComplete({
  super.key,
  required this.onPlaceSelected,
  this.googleMapApiKey,
  this.onLoad,
  this.limit = 5,
  this.label,
  this.placeholder,
  this.labelPosition = TLabelPosition.aboveField,
  this.config,
});