Google Maps | Geo Search | unfinished

This commit is contained in:
2020-12-05 19:42:20 +01:00
parent f840ade2c8
commit 5f48de6027
12 changed files with 390 additions and 65 deletions

View File

@@ -3,6 +3,7 @@ import '../services.dart';
import 'lineOfIcons.dart';
import 'dishList.dart';
import 'socialMedia.dart';
import 'restaurantMapView.dart';
class RestaurantView extends StatelessWidget {
final String id;
@@ -78,7 +79,16 @@ class RestaurantView extends StatelessWidget {
Icons.map,
color: Colors.orange,
),
onPressed: () {}),
onPressed: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
RestaurantMapView(
coordinates:
restaurant.coordinates,
name: restaurant.name,
type: restaurant.type,
)))),
)
],
mainAxisAlignment: MainAxisAlignment.spaceBetween,