extremely simplyfied code

This commit is contained in:
esche 2023-06-19 16:27:07 +02:00
parent f343214df0
commit 893b421fe3

View file

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