forked from mgl_crew/Mitgliederladen
extremely simplyfied code
This commit is contained in:
parent
f343214df0
commit
893b421fe3
1 changed files with 1 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue