Footer angepasst. Und ausgerichtet.

This commit is contained in:
Niklas 2024-11-01 21:32:52 +01:00
parent ee39d6c944
commit 7d99d3b70f
1 changed files with 215 additions and 208 deletions

View File

@ -1674,219 +1674,226 @@ class Footer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
//width: 390,
//height: 90,
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 5),
clipBehavior: Clip.antiAlias,
decoration: BoxDecoration(
color: Color(0xFFF2F2F2),
border: Border(
left: BorderSide(color: Color(0xFF868686)),
top: BorderSide(width: 1, color: Color(0xFF868686)),
right: BorderSide(color: Color(0xFF868686)),
bottom: BorderSide(color: Color(0xFF868686)),
width: double.infinity,
//height: 90,
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
clipBehavior: Clip.antiAlias,
decoration: BoxDecoration(
color: Color(0xFFF2F2F2),
border: Border(
left: BorderSide(color: Color(0xFF868686)),
top: BorderSide(width: 1, color: Color(0xFF868686)),
right: BorderSide(color: Color(0xFF868686)),
bottom: BorderSide(color: Color(0xFF868686)),
),
),
),
child: Column(
children: [
Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
child: Expanded(
child: Column(
children: [
SizedBox(
height: 30,
//width: 63,
child: IconButton(
icon: Image.asset('assets/images/logo.png'),
onPressed: () {
// Open drawer or perform action
},
),
Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
SizedBox(
height: 30,
//width: 63,
child: IconButton(
icon: Image.asset('assets/images/logo.png'),
onPressed: () {
// Open drawer or perform action
},
),
),
const SizedBox(width: 10),
Text(
'© 2024 Alle Rechte vorbehalten',
style: TextStyle(
color: Colors.black,
fontSize: 8,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 40),
SizedBox(
height: 20,
width: 20,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.instagram, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding: EdgeInsets
.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
SizedBox(
height: 20,
width: 20,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.tiktok, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding: EdgeInsets
.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
SizedBox(
height: 20,
width: 25,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.youtube, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding: EdgeInsets
.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
SizedBox(
height: 20,
width: 20,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.facebook, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding: EdgeInsets
.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
],
),
const SizedBox(width: 10),
Text(
'© 2024 Alle Rechte vorbehalten',
style: TextStyle(
color: Colors.black,
fontSize: 8,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
Container(height: 10),
Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
' About us',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 10),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 10),
Text(
'Impressum',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 10),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 10),
Text(
'Kontakt',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 10),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 10),
Text(
'Help Service',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
],
),
const SizedBox(width: 40),
SizedBox(
height: 20,
width: 20,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.instagram, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding:
EdgeInsets.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
SizedBox(
height: 20,
width: 20,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.tiktok, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding:
EdgeInsets.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
SizedBox(
height: 20,
width: 25,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.youtube, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding:
EdgeInsets.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
SizedBox(
height: 20,
width: 20,
child: IconButton(
icon: FaIcon(FontAwesomeIcons.facebook, size: 20),
onPressed: () {
// Füge hier die YouTube-Aktion hinzu
},
padding:
EdgeInsets.zero, // Entfernt das Padding des IconButton
constraints:
BoxConstraints(), // Entfernt die Standardbeschränkungen
)),
const SizedBox(width: 10),
Container(height: 10),
Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'Terms and conditions ',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 20),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 20),
Text(
'sponsered by: In4Event',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
],
),
Container(height: 20),
],
),
Container(height: 10),
Row(
children: [
Text(
' About us',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 10),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 10),
Text(
'Impressum',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 10),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 10),
Text(
'Kontakt',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 10),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 10),
Text(
'Help Service',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
],
),
Container(height: 10),
Row(
children: [
Text(
'Terms and conditions ',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
const SizedBox(width: 20),
Container(
width: 3,
height: 3,
decoration: ShapeDecoration(
color: Colors.black, // Schwarze Füllfarbe
shape: OvalBorder(side: BorderSide(width: 1)),
),
),
const SizedBox(width: 20),
Text(
'sponsered by: In4Event',
style: TextStyle(
color: Colors.black,
fontSize: 12,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
],
),
Container(height: 20),
],
),
);
));
}
}