icons | restaurant view | services
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user