icons | restaurant view | services

This commit is contained in:
2020-10-30 19:40:17 +01:00
parent aa5d142a4f
commit 2ae32ac276
26 changed files with 586 additions and 122 deletions

View File

@@ -3,6 +3,7 @@ import '../services.dart';
class LineOfIcons extends StatelessWidget {
final MenuiTags tags;
final double edgeInsets = 6;
LineOfIcons({@required this.tags});
@@ -14,16 +15,16 @@ class LineOfIcons extends StatelessWidget {
children: <Widget>[
if (tags.alcohol == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_alcohol.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Alkohol',
@@ -33,16 +34,16 @@ class LineOfIcons extends StatelessWidget {
)),
if (tags.cardPayments == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_card.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Płatność',
@@ -56,16 +57,16 @@ class LineOfIcons extends StatelessWidget {
)),
if (tags.delivery == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_delivery.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Dowozimy',
@@ -75,16 +76,16 @@ class LineOfIcons extends StatelessWidget {
)),
if (tags.glutenFree == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_glutenFree.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Bezglutenowe',
@@ -94,16 +95,16 @@ class LineOfIcons extends StatelessWidget {
)),
if (tags.petFriendly == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_pets.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Lubimy',
@@ -117,16 +118,16 @@ class LineOfIcons extends StatelessWidget {
)),
if (tags.vegan == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_vegan.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Wegańskie',
@@ -136,16 +137,16 @@ class LineOfIcons extends StatelessWidget {
)),
if (tags.vegetarian == true)
Container(
margin: EdgeInsets.all(8),
margin: EdgeInsets.all(edgeInsets),
child: Column(
children: [
Container(
alignment: Alignment.center,
child: Image.asset(
'img/i_vegetarian.png',
width: 20,
width: 18,
),
height: 30,
height: 26,
),
Text(
'Wegetariańskie',