I want to show floating text labels (top, bottom, left and right) of a picture, with the coordenates (the picture is a map.
I found the best widget to show the map is package:photo_view/photo_view.dart
However, I'm new to flutter and haven`t realized how to 'paint' the textlabels in those positions, 'floating' over the picture.
I've tried this to no avail:
return Container(
child: new Stack(children: <Widget>[
new PhotoView(
imageProvider: AssetImage("assets/image.jpg"),
),
new AlignPositioned(
alignment: Alignment.topLeft,
Text('Hello World')
)
]
)
);
What am I doing wrong?