Make location pin prettier
This commit is contained in:
parent
384f25ddbe
commit
2d039a04da
@ -81,14 +81,15 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
MarkerLayer(markers: [
|
MarkerLayer(markers: [
|
||||||
Marker(
|
Marker(
|
||||||
point: LatLng(favorite.lat, favorite.lng),
|
point: LatLng(favorite.lat, favorite.lng),
|
||||||
width: 60,
|
width: 30,
|
||||||
height: 100,
|
height: 50,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: const Icon(
|
child: const Stack(
|
||||||
Icons.location_pin,
|
children: [
|
||||||
size: 60,
|
Icon(Icons.location_pin, size: 30, color: Colors.yellow),
|
||||||
color: Colors.yellow,
|
Icon(Icons.location_on_outlined, size: 30, color: Colors.black),
|
||||||
)
|
]
|
||||||
|
),
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user