如何从 Flutter 的预测中删除 Powered By Google

Moh*_*yab 4 google-maps google-prediction flutter

我想知道是否有任何方法可以从 Flutter 的预测插件中删除由 Google 提供支持的徽标。

图像

谢谢

小智 6

在徽标属性中传递一个空的文本小部件

Prediction p = await PlacesAutocomplete.show(
        context: context,
        apiKey: kGoogleApiKey,
        mode: Mode.overlay,
        language: "it",
        logo: Text(""),
        components: [Component(Component.country, "it")],
      );
Run Code Online (Sandbox Code Playgroud)