{"id":23869221,"url":"https://github.com/badiniibrahim/google_place_autocomplete","last_synced_at":"2026-04-14T03:32:40.278Z","repository":{"id":252405924,"uuid":"840316610","full_name":"badiniibrahim/google_place_autocomplete","owner":"badiniibrahim","description":"GooglePlaceAutocomplete is a Flutter package that integrates with the Google Places API to offer location autocomplete functionality within your Flutter applications. This package allows users to search for places and view autocomplete suggestions in real time as they type.","archived":false,"fork":false,"pushed_at":"2024-08-09T15:38:34.000Z","size":501,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-13T03:27:40.713Z","etag":null,"topics":["dart","flutter","google","google-maps-api"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/google_place_autocomplete","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badiniibrahim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-09T12:39:08.000Z","updated_at":"2024-08-09T15:38:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"2480838e-ef6a-45d8-97ef-17d671c8ae1d","html_url":"https://github.com/badiniibrahim/google_place_autocomplete","commit_stats":null,"previous_names":["badiniibrahim/google_place_autocomplete"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/badiniibrahim/google_place_autocomplete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badiniibrahim%2Fgoogle_place_autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badiniibrahim%2Fgoogle_place_autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badiniibrahim%2Fgoogle_place_autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badiniibrahim%2Fgoogle_place_autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badiniibrahim","download_url":"https://codeload.github.com/badiniibrahim/google_place_autocomplete/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badiniibrahim%2Fgoogle_place_autocomplete/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","google","google-maps-api"],"created_at":"2025-01-03T12:16:26.847Z","updated_at":"2026-04-14T03:32:40.273Z","avatar_url":"https://github.com/badiniibrahim.png","language":"Dart","funding_links":["https://buymeacoffee.com/toncopilote"],"categories":[],"sub_categories":[],"readme":"\u003c!--\nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).\n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages).\n--\u003e\n\n## Google Place Autocomplete\n\nGooglePlaceAutocomplete is a Flutter package that integrates with the Google Places API to offer location autocomplete functionality within your Flutter applications. This package allows users to search for places and view autocomplete suggestions in real time as they type.\n\n## Created by [@badiniibrahim](https://github.com/badiniibrahim)\n\nLiked some of my work? Buy me a coffee. Thanks for your support :heart:\n\n\u003ca href=\"https://buymeacoffee.com/toncopilote\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-blue.png\" alt=\"Buy Me A Coffee\" height=64\u003e\u003c/a\u003e\n\n## Screenshot\n\n![alt text](1.png)\n\n## Features\n\n- API Key: This package requires a Google Maps API key (googleMapApiKey) to access the Google Places API for fetching place suggestions.\n\n- Language Support: The language parameter allows you to specify the language for autocomplete suggestions (e.g., 'en' for English, 'fr' for French). It defaults to 'fr' for French but can be customized according to your needs.\n\n- Prediction Callback: The onPredictionSelected callback function is invoked when a user selects a place from the autocomplete suggestions. This enables you to handle the selected prediction in your application.\n\n- Customizable Loading Text: The loadingText parameter lets you specify the text shown while loading suggestions. It defaults to \"Loading...\" but can be customized to any string.\n\n## Getting started\n\nAdd the dependency to your `pubspec.yaml` file:\n\n```yaml\ndependencies:\n  ...\n    google_place_autocomplete: latest_version\n```\n\n## Here's a complete example showcasing the usage of the AdaptiveBottomNavigation widget:\n\n```dart\nvoid main() {\n  runApp(MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return GetMaterialApp(\n      home: HomeScreen(),\n    );\n  }\n}\n\nclass HomeScreen extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return GooglePlaceAutocomplete(\n          googleMapApiKey: 'YOUR_API_KEY',\n          onPredictionSelected: (prediction) {\n          print('Selected location: ${prediction.description}');\n        },\n        language: 'en', // Optional: Specify the language for suggestions\n        loadingText: 'Please wait...', // Optional: Custom loading text\n      )\n  }\n}\n\n\n```\n\n### Parameters\n\n- **`googleMapApiKey`**:(required): The Google Maps API key used to retrieve place suggestions.\n- **`language`**: (optional): Language code for the suggestions (e.g., 'en' for English, 'fr' for French). Defaults to 'fr'.\n- **`onPredictionSelected`**: (required): A function that is called when a prediction is selected from the list of suggestions.\n- **`loadingText`**:(optional): The text displayed while loading the suggestions. Defaults to \"Loading...\".\n\n## LinkedIn\n\nConnect with me on [LinkedIn](https://www.linkedin.com/in/badini-ibrahim-sawadogo-306b119b/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadiniibrahim%2Fgoogle_place_autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadiniibrahim%2Fgoogle_place_autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadiniibrahim%2Fgoogle_place_autocomplete/lists"}