How to Remove Powered By Google from Prediction in Flutter

1.6k Views Asked by At

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

Img

Thanks

2

There are 2 best solutions below

0
Richardd On

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.

0
FreddyGreen On

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")],
      );