✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
(Code Evaluation)
Examine the following code for integrating a Google Map and displaying a marker on a hardcoded location. Identify potential improvements and make the marker dynamic.
GoogleMap(
initialCameraPosition: CameraPosition(
target: LatLng(37.7749, -122.4194),
zoom: 12,
),
markers: {
Marker(
markerId: MarkerId('marker1'),
position: LatLng(37.7749, -122.4194),
),
},
);
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!