InfoWindow Size自适应便宜量

This commit is contained in:
Kuloud
2024-01-05 09:27:48 +08:00
parent 4b1a1326e8
commit 36518f3757
4 changed files with 21 additions and 6 deletions

View File

@ -28,7 +28,8 @@ class _State extends State<CustomInfoWindowDemoPage> {
color: Colors.lightBlue.shade400,
child: Text('info'),
),
option: InfoWindowOption(latLng: mapCenter));
option: InfoWindowOption(
latLng: mapCenter, offset: EdgeInsets.only(bottom: 32)));
Future<void> _onMapCreated(AMapController controller) async {}