From acb3857c8e160bba4b131880d4d656c00104ed0f Mon Sep 17 00:00:00 2001 From: esche Date: Mon, 12 Jun 2023 23:14:31 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EFrontend-user/lib/refmain=E2=80=9C=20l?= =?UTF-8?q?=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend-user/lib/refmain | 60 --------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 Frontend-user/lib/refmain diff --git a/Frontend-user/lib/refmain b/Frontend-user/lib/refmain deleted file mode 100644 index 87bb89a..0000000 --- a/Frontend-user/lib/refmain +++ /dev/null @@ -1,60 +0,0 @@ -import 'package:flutter/material.dart'; -import 'startscreen.dart'; - -void main() { - runApp(MyJGUApp()); -} - -class Ticket { - final vorname = 'Filiz'; - final nachname = 'Kluba'; - final birthday = '18.07.1997'; - final matrikel = '2761428'; - final picture = 'assets/Filiz.webp'; //Resolution 827x1063 -} - -class MyJGUApp extends StatelessWidget { - const MyJGUApp({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'JGU Ausweise', - theme: themedataLight, - darkTheme: themedataLight, //not implemented - themeMode: ThemeMode.system, - home: StartScreen(), - debugShowCheckedModeBanner: false, - ); - } - - static ThemeData themedataLight = ThemeData( - brightness: Brightness.light, - textTheme: Typography.material2021().black, - colorScheme: const ColorScheme.light( - primary: Color(0xffbf0028), - onPrimary: Colors.white, - secondary: Color(0xff6e7073), - tertiary: Color(0xffd7d7d7), - background: Colors.white, - onBackground: Colors.black), - dividerColor: const Color(0xffd7d7d7), - cardTheme: const CardTheme( - surfaceTintColor: Colors.white, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(2)), - side: BorderSide(width: 1, color: Color(0xff6e7073))), - ), - iconTheme: const IconThemeData(color: Color(0xff6e7073)), - textButtonTheme: const TextButtonThemeData( - style: ButtonStyle( - shape: MaterialStatePropertyAll(RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(2)))), - backgroundColor: MaterialStatePropertyAll(Color(0xff082b6d)))), - appBarTheme: const AppBarTheme( - backgroundColor: Color(0xffbf0028), - iconTheme: IconThemeData(color: Colors.white), - actionsIconTheme: IconThemeData(color: Colors.white), - titleTextStyle: TextStyle( - color: Colors.white, fontWeight: FontWeight.w500, fontSize: 20))); -}