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