如何在 flutter 中的图像上添加交互式图钉?
How to add interactive pins on images in flutter?
我在 Flutter.is 上无法将图像与交互式图钉集成在一起,这可能吗?如果是这样,我该怎么做?我正在寻找类似于 WordPress 的 Image Mapper 插件的东西!
Stack
小部件就是您想要的:
Stack(
children: <Widget>[
<your image>,
Positioned(
left: 50.0,
top: 30.0,
child: <your pin>
),
...
],
)
我在 Flutter.is 上无法将图像与交互式图钉集成在一起,这可能吗?如果是这样,我该怎么做?我正在寻找类似于 WordPress 的 Image Mapper 插件的东西!
Stack
小部件就是您想要的:
Stack(
children: <Widget>[
<your image>,
Positioned(
left: 50.0,
top: 30.0,
child: <your pin>
),
...
],
)