Habe den Namen geändert und ein Expandable gemacht, anscheinend stimmt was nciht mit der Größe des Footers.

This commit is contained in:
Niklas 2024-11-01 21:56:12 +01:00
parent 7d99d3b70f
commit 355527091e
3 changed files with 219 additions and 219 deletions

View File

@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="learn_project"
android:label="Montomo"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity

View File

@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Learn Project</string>
<string>Montomo</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
@ -13,7 +13,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>learn_project</string>
<string>Montomo</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>

View File

@ -1673,227 +1673,227 @@ class LostEvents extends StatelessWidget {
class Footer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
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)),
),
return Expanded(
child: Container(
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: Expanded(
child: Column(
),
child: Column(
children: [
Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
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),
],
SizedBox(
height: 30,
//width: 63,
child: IconButton(
icon: Image.asset('assets/images/logo.png'),
onPressed: () {
// Open drawer or perform action
},
),
),
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: 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(
'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),
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(
' 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(
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),
],
),
));
}
}