forked from mgl_crew/Mitgliederladen
kleine Änderungen am Design
This commit is contained in:
parent
5ad2ae0867
commit
df0fabce0f
2 changed files with 14 additions and 5 deletions
|
@ -5,7 +5,7 @@ import 'expand.dart';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
todo:
|
todo:
|
||||||
- Design, Farbschema, Darkmode
|
- Design, Darkmode
|
||||||
- Einkauf und Settings
|
- Einkauf und Settings
|
||||||
- Details zum Warenkorb und Beschreibung (https://stackoverflow.com/questions/49029841/how-to-animate-collapse-elements-in-flutter)
|
- Details zum Warenkorb und Beschreibung (https://stackoverflow.com/questions/49029841/how-to-animate-collapse-elements-in-flutter)
|
||||||
- farbliche Hervorhebungen
|
- farbliche Hervorhebungen
|
||||||
|
@ -20,7 +20,7 @@ class Transaction {
|
||||||
Art art;
|
Art art;
|
||||||
DateTime datum;
|
DateTime datum;
|
||||||
String beschreibung;
|
String beschreibung;
|
||||||
bool elevated = true;
|
bool elevated = false;
|
||||||
Transaction(this.art, this.betrag, this.datum, this.beschreibung);
|
Transaction(this.art, this.betrag, this.datum, this.beschreibung);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ class _Finance extends State<Finance> {
|
||||||
return Card(
|
return Card(
|
||||||
clipBehavior: Clip.hardEdge,
|
clipBehavior: Clip.hardEdge,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
splashColor: Colors.blue.withAlpha(30),
|
splashColor: const Color(0xff5f7c61).withAlpha(30),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
transactions[index].elevated =
|
transactions[index].elevated =
|
||||||
!transactions[index].elevated;
|
!transactions[index].elevated;
|
||||||
|
|
|
@ -14,10 +14,19 @@ class MyApp extends StatelessWidget {
|
||||||
title: 'SoNaKo Demo App',
|
title: 'SoNaKo Demo App',
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
|
//darkgreen:5f7c61, mediumgreen: 66906a, lightgreen: 9cbe96, yellow: f5de64
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
|
brightness: Brightness.light,
|
||||||
colorScheme: ColorScheme.fromSeed(
|
colorScheme: ColorScheme.fromSeed(
|
||||||
seedColor: Colors.green)), //9bbee6 //79,128,104
|
brightness: Brightness.light,
|
||||||
darkTheme: ThemeData.dark(),
|
seedColor: const Color(0xff5f7c61))),
|
||||||
|
darkTheme: ThemeData(
|
||||||
|
useMaterial3: true,
|
||||||
|
brightness: Brightness.dark,
|
||||||
|
colorScheme: ColorScheme.fromSeed(
|
||||||
|
brightness: Brightness.dark,
|
||||||
|
seedColor: const Color(0xff5f7c61),
|
||||||
|
)),
|
||||||
themeMode: ThemeMode.system,
|
themeMode: ThemeMode.system,
|
||||||
home: const MyHomePage(),
|
home: const MyHomePage(),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue