2021-09-14 20:55:58 +02:00
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class SZ extends StatelessWidget {
|
|
|
|
const SZ({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Scaffold(
|
|
|
|
appBar: AppBar(
|
|
|
|
title: const Text("Schülerzeitung"),
|
|
|
|
centerTitle: true,
|
|
|
|
),
|
2021-11-06 11:01:44 +01:00
|
|
|
body: ListView(
|
|
|
|
children: [
|
|
|
|
Card(
|
|
|
|
child: Column(children: [
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 10, 10, 10),
|
|
|
|
child: ListTile(
|
|
|
|
onTap: () {
|
|
|
|
Navigator.push(
|
|
|
|
context,
|
|
|
|
MaterialPageRoute(builder: (context) => Article()),
|
|
|
|
);
|
|
|
|
},
|
|
|
|
title: const Text(
|
|
|
|
"Schülersprecherwahl 2021: Kandidatenduos im Interview",
|
|
|
|
style: TextStyle(fontWeight: FontWeight.bold)),
|
|
|
|
subtitle: const Text(
|
|
|
|
"17.09.2021, Halle(Saale) Drei Trios stellen sich dieses Jahr zur Wahl...")),
|
|
|
|
)
|
|
|
|
]),
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
borderRadius: BorderRadius.circular(15),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
)
|
|
|
|
/*const Center(
|
2021-09-14 20:55:58 +02:00
|
|
|
child: Text("Derzeit nichts hier..."),
|
2021-11-06 11:01:44 +01:00
|
|
|
)*/
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Article extends StatelessWidget {
|
|
|
|
const Article({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Scaffold(
|
|
|
|
appBar: AppBar(
|
|
|
|
title: const Text(
|
|
|
|
"Schülersprecherwahl 2021: Kandidatenduos im Interview"),
|
|
|
|
centerTitle: true,
|
|
|
|
),
|
|
|
|
body: ListView(
|
|
|
|
padding: const EdgeInsets.fromLTRB(20, 20, 20, 20),
|
|
|
|
children: const [
|
|
|
|
Text("""
|
|
|
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
|
|
|
|
|
|
|
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
|
|
|
|
|
|
|
|
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
|
|
|
|
|
|
|
|
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer
|
|
|
|
""")
|
|
|
|
],
|
2021-09-14 20:55:58 +02:00
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|