LostEvent als Button umfunktioniert.

This commit is contained in:
Niklas 2024-11-02 00:23:45 +01:00
parent 935ff8873d
commit 4de7af80ad
1 changed files with 95 additions and 86 deletions

View File

@ -1559,98 +1559,107 @@ class Event_Card extends StatelessWidget {
class LostEvents extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width: 350,
//height: 148,
padding: EdgeInsets.all(15.0),
decoration: ShapeDecoration(
color: Colors.white,
shape: RoundedRectangleBorder(
side: BorderSide(width: 2),
borderRadius: BorderRadius.circular(8),
),
shadows: [
BoxShadow(
color: Color(0xFF000000),
blurRadius: 0,
offset: Offset(0, 10),
spreadRadius: 0,
)
],
),
child: Column(
children: [
Align(
alignment: Alignment.centerLeft,
child: Text(
'Ein Event fehlt euch hier?',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 18,
fontFamily: 'Inter',
fontWeight: FontWeight.w800,
height: 0,
),
return InkWell(
onTap: () {
/* Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
ZielSeite()), // Die Seite, zu der du navigieren möchtest
); */
},
child: Container(
width: 350,
//height: 148,
padding: EdgeInsets.all(15.0),
decoration: ShapeDecoration(
color: Colors.white,
shape: RoundedRectangleBorder(
side: BorderSide(width: 2),
borderRadius: BorderRadius.circular(8),
),
shadows: [
BoxShadow(
color: Color(0xFF000000),
blurRadius: 0,
offset: Offset(0, 10),
spreadRadius: 0,
)
],
),
const SizedBox(height: 10),
SizedBox(
width: 317,
child: Text.rich(
TextSpan(
children: [
TextSpan(
text: 'Sendet uns ein Foto vom Event ',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 16,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
child: Column(
children: [
Align(
alignment: Alignment.centerLeft,
child: Text(
'Ein Event fehlt euch hier?',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 18,
fontFamily: 'Inter',
fontWeight: FontWeight.w800,
height: 0,
),
TextSpan(
text: 'oder',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 16,
fontFamily: 'Inter',
fontWeight: FontWeight.w700,
height: 0,
),
),
TextSpan(
text:
' werdet Host und stellt eure Events bei uns rein. ',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 16,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
],
),
),
),
),
const SizedBox(height: 15),
Align(
alignment: Alignment.centerRight,
child: Text(
'Infos hier',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 18,
fontFamily: 'Inter',
fontWeight: FontWeight.w800,
height: 0.07,
const SizedBox(height: 10),
SizedBox(
width: 317,
child: Text.rich(
TextSpan(
children: [
TextSpan(
text: 'Sendet uns ein Foto vom Event ',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 16,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
TextSpan(
text: 'oder',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 16,
fontFamily: 'Inter',
fontWeight: FontWeight.w700,
height: 0,
),
),
TextSpan(
text:
' werdet Host und stellt eure Events bei uns rein. ',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 16,
fontFamily: 'Inter',
fontWeight: FontWeight.w400,
height: 0,
),
),
],
),
),
),
),
const SizedBox(height: 15),
Align(
alignment: Alignment.centerRight,
child: Text(
'Infos hier',
style: TextStyle(
color: Color(0xFF0A0A0A),
fontSize: 18,
fontFamily: 'Inter',
fontWeight: FontWeight.w800,
height: 0.07,
),
),
),
],
),
],
),
);
));
}
}