Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Remove Powered By Google from Prediction in Flutter

I want to know if is there any way I can remove powered by Google logo from Prediction plugin in Flutter.

Img

Thanks

like image 237
Mohammad Tayyab Avatar asked Sep 06 '25 05:09

Mohammad Tayyab


2 Answers

Pass an empty Text widget di the logo property

Prediction p = await PlacesAutocomplete.show(
        context: context,
        apiKey: kGoogleApiKey,
        mode: Mode.overlay,
        language: "it",
        logo: Text(""),
        components: [Component(Component.country, "it")],
      );
like image 140
FreddyGreen Avatar answered Sep 09 '25 02:09

FreddyGreen


Have a look on the Terms of Service, it says: Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Service Specific Terms. Customer will not modify, obscure, or delete such attribution.

like image 20
Richardd Avatar answered Sep 09 '25 02:09

Richardd