如何在flutter google map中使用custom widget作为下图的市场,或者如何在flutter中实现下图作为输出? ? 这是my first time working with maps in flutter。我知道我需要转换图像为Unit8List,但这是唯一的图像!如何在自定义小部件中处理图像? 图片来自网络接口调用,格式为base46字符串。
我的flutter应用出了点问题。当我在模拟器上运行它时,一切都运行得很好,它完全按照我想要的方式呈现。然而,当我试图在我的物理设备(三星S4迷你)上运行它时,应用程序的底部显示“底部溢出97像素”。 溢出的部分是一个“开始”按钮,它应该打开登录屏幕。 一切正常,但唯一的问题是它在物理设备上溢出。 This is a picture of the bottom of my emulator. The blue is just there so I can see where the container ends. 下面是Get Started按钮的代码: Container(