Restored full timetable implementation using SFCalendar
This commit is contained in:
@ -8,6 +8,7 @@ import 'package:marianum_mobile/screen/login/login.dart';
|
||||
import 'package:marianum_mobile/widget/errorView.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
|
||||
import 'app.dart';
|
||||
import 'data/chatList/chatListProps.dart';
|
||||
@ -71,6 +72,16 @@ class _MainState extends State<Main> {
|
||||
|
||||
return MaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
localizationsDelegates: const [
|
||||
...GlobalMaterialLocalizations.delegates,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
],
|
||||
supportedLocales: const [
|
||||
Locale('de'),
|
||||
Locale('en'),
|
||||
],
|
||||
locale: const Locale('de'),
|
||||
|
||||
|
||||
title: 'Marianum Fulda',
|
||||
theme: ThemeData(
|
||||
@ -79,7 +90,7 @@ class _MainState extends State<Main> {
|
||||
colorScheme: const ColorScheme(
|
||||
brightness: Brightness.light,
|
||||
surface: Colors.white,
|
||||
onSurface: Colors.white,
|
||||
onSurface: Colors.black,
|
||||
onSecondary: Colors.white,
|
||||
onPrimary: Colors.white,
|
||||
onError: marianumRed,
|
||||
@ -91,7 +102,7 @@ class _MainState extends State<Main> {
|
||||
),
|
||||
hintColor: marianumRed,
|
||||
inputDecorationTheme: const InputDecorationTheme(
|
||||
border: UnderlineInputBorder(borderSide: BorderSide(color: marianumRed)),
|
||||
border: UnderlineInputBorder(borderSide: BorderSide(color: marianumRed)),
|
||||
),
|
||||
appBarTheme: const AppBarTheme(
|
||||
backgroundColor: marianumRed,
|
||||
|
Reference in New Issue
Block a user