Closed rlazom closed 3 years ago
It would be great, because it could be used for virtual tours (click to an icon --> moving from one panorama to another) or to display information on a specific point (for example an object in a museum) etc ...
Would be good to have also an example of how to do this (also without changing the plugin)
791473c5c5e0a34d917e0972673668724b7c245b support add widgets
Some tests I've done:
^0.1.2
does not have widgets support (just tried, but no new code for widgets)791473c
version and the example in the repository I have some strange errorsHotspot(
latitude: -76.0,
longitude: -52.0,
widget: GestureDetector(
onTap: () {
print('tap tap');
},
child: Container(
//padding: EdgeInsets.all(8),
color: Colors.white,
child: Icon(Icons.search),
),
),
),
it works (at least on Android):
Awesome job @zesage. I love it.
Tested and working
Hi, first of all, I really love your plugin men, awesome job 😎🤘
I like to suggest a new feature, I think it could be very useful. Feature: Add widget(s) on a given position.
The idea could be add to the current panorama class a list of objets(a widget with the position in the scene):
And the PositionedWidget Class something like:
This could be used to add (for example):