如何在Flutter中创建类似Google Maps的覆盖层?

huangapple go评论56阅读模式
英文:

How to create a google maps like overlay in flutter?

问题

当我在谷歌地图上导航并点击主页按钮时,主屏幕会出现一个小的覆盖层。我正在尝试在我的Flutter应用程序中实现类似的功能,想知道如何操作。

主屏幕上的覆盖层

尝试搜索了一下,但找不到从哪里开始。

英文:

When I am navigating on google maps and I click on the home button a small overlay appears on the home screen. I am trying to implement similar functionality in my flutter app want to know how I can go about doing the same

overlay on home screen

Tried searching a bit but couldn't find where to start

答案1

得分: 2

这被称为pip,即画中画模式。

您可以使用:Flutter Picture in Picture

英文:

This is known as pip i.e. Picture in picture mode.

You can use: Flutter Picture in Picture

huangapple
  • 本文由 发表于 2023年7月17日 16:30:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/76702685.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定