osm_flutter
osm_flutter copied to clipboard
Widget inside MarkerIcon can't be pressed
Greetings, is it possible interact with Widgets inside a MarkerIcon? I tried an Inkwell as well as a button but the map keeps having the priority. really appreciate the work on this plugin. Thanks!
MarkerIcon(
iconWidget: InkWell(
onTap: (){
print("Inkwell click");
},
child: Container(
width: 300,
height: 300,
decoration: BoxDecoration(
color: Colors.red,
borderRadius: BorderRadius.circular(50),
),
child: Column(
children: [
Text('Marker'),
Icon(Icons.location_on),
ElevatedButton(onPressed: () => {print('Click button')}, child: Text('Button', style: TextStyle(color: Colors.white, fontSize: 120),)),
],
),
),
),
),
for now that's not possible since the Markers only shows as Image Im working in solution to allow those type of Markers sorry for that