main #1

Open
fdenzer wants to merge 46 commits from mgl_crew/Mitgliederladen:main into main
Showing only changes of commit 893b421fe3 - Show all commits

View file

@ -1,7 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:intl/intl.dart'; import 'package:intl/intl.dart';
import 'package:intl/date_symbol_data_local.dart'; import 'package:intl/date_symbol_data_local.dart';
import 'expand.dart';
/* /*
todo: todo:
@ -20,7 +19,6 @@ class Transaction {
Art art; Art art;
DateTime datum; DateTime datum;
String beschreibung; String beschreibung;
bool elevated = false;
Transaction(this.art, this.betrag, this.datum, this.beschreibung); Transaction(this.art, this.betrag, this.datum, this.beschreibung);
} }
@ -96,10 +94,8 @@ class Finance extends StatelessWidget {
return Card( return Card(
clipBehavior: Clip.hardEdge, clipBehavior: Clip.hardEdge,
child: InkWell( child: InkWell(
splashColor: const Color(0xff5f7c61).withAlpha(30), splashColor: const Color(0xff5f7c61).withAlpha(50),
onTap: () { onTap: () {
transactions[index].elevated =
!transactions[index].elevated;
showBottomSheet( showBottomSheet(
context: context, context: context,
builder: (BuildContext context) { builder: (BuildContext context) {