Dish view

This commit is contained in:
2020-12-04 21:40:44 +01:00
parent ab1e47dfee
commit f840ade2c8
7 changed files with 476 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import '../services.dart';
import 'lineOfIcons.dart';
import 'dishList.dart';
import 'socialMedia.dart';
class RestaurantView extends StatelessWidget {
final String id;
@@ -118,6 +119,10 @@ class RestaurantView extends StatelessWidget {
SizedBox(
height: 12,
),
MenuiDoubleColorText(
leading: 'Kuchnia: ',
following: '${restaurant.type}',
),
MenuiDoubleColorText(
leading: 'Adres: ',
following:
@@ -143,6 +148,18 @@ class RestaurantView extends StatelessWidget {
SizedBox(
height: 12,
),
Text(
'Social media',
style:
TextStyle(color: Colors.orange, fontSize: 14),
),
SizedBox(
height: 12,
),
SocialMedia(links: restaurant.links),
SizedBox(
height: 12,
),
],
),
)