restaurant view | tags component

This commit is contained in:
2020-10-18 19:54:53 +02:00
parent 9c69610585
commit 735f0eadfd
4 changed files with 258 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'restaurantView.dart';
import 'package:menui_mobile/services.dart';
class RestaurantCard extends StatelessWidget {
@@ -10,7 +11,10 @@ class RestaurantCard extends StatelessWidget {
Widget build(BuildContext context) {
return Card(
child: InkWell(
onTap: () {},
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) => RestaurantView(restaurant: restaurant))),
child: Row(
crossAxisAlignment: CrossAxisAlignment.baseline,
children: <Widget>[