migrated holidays module to MarianumConnect API, replaced local Holiday model.

This commit is contained in:
2026-05-24 17:49:25 +02:00
parent 93b9929f8f
commit 01b4b44010
15 changed files with 161 additions and 456 deletions
+24 -18
View File
@@ -12,26 +12,32 @@ class PlaceholderView extends StatelessWidget {
});
@override
Widget build(BuildContext context) => Scaffold(
body: Center(
child: Container(
margin: const EdgeInsets.only(top: 100, left: 20, right: 20),
child: Column(
children: [
Container(
margin: const EdgeInsets.all(30),
child: Icon(icon, size: 60),
Widget build(BuildContext context) => CustomScrollView(
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
SliverFillRemaining(
child: Center(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Padding(
padding: const EdgeInsets.all(30),
child: Icon(icon, size: 60),
),
Text(
text,
style: const TextStyle(fontSize: 20),
textAlign: TextAlign.center,
),
const SizedBox(height: 30),
?button,
],
),
Text(
text,
style: const TextStyle(fontSize: 20),
textAlign: TextAlign.center,
),
const SizedBox(height: 30),
?button,
],
),
),
),
),
],
);
}