Aidra Connect
10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
transaction_item.dart
Go to the documentation of this file.
1
// import 'package:flutter/material.dart';
2
// import 'package:flutter_screenutil/flutter_screenutil.dart';
3
4
// class TransactionCard extends StatelessWidget {
5
// final String date;
6
// final String type;
7
// final double amount;
8
// final String time;
9
// final bool isReceived;
10
11
// const TransactionCard({
12
// super.key,
13
// required this.date,
14
// required this.type,
15
// required this.amount,
16
// required this.time,
17
// required this.isReceived,
18
// });
19
20
// @override
21
// Widget build(BuildContext context) {
22
// return Container(
23
// margin: EdgeInsets.only(bottom: 12.sp),
24
// padding: EdgeInsets.all(15.sp),
25
// decoration: BoxDecoration(
26
// color: Colors.white,
27
// borderRadius: BorderRadius.circular(12),
28
// ),
29
// child: Row(
30
// children: [
31
// Container(
32
// padding: EdgeInsets.all(10.sp),
33
// decoration: BoxDecoration(
34
// color: (isReceived ? Colors.green : Colors.red).withOpacity(0.1),
35
// shape: BoxShape.circle,
36
// ),
37
// child: Icon(
38
// isReceived ? Icons.arrow_downward : Icons.arrow_upward,
39
// color: isReceived ? Colors.green : Colors.red,
40
// ),
41
// ),
42
// const SizedBox(width: 16),
43
// Expanded(
44
// child: Column(
45
// crossAxisAlignment: CrossAxisAlignment.start,
46
// children: [
47
// Text(
48
// type,
49
// style: const TextStyle(
50
// fontSize: 16,
51
// fontWeight: FontWeight.w500,
52
// ),
53
// ),
54
// const SizedBox(height: 4),
55
// Text(
56
// '$date • $time',
57
// style: TextStyle(
58
// color: Colors.grey[600],
59
// fontSize: 14,
60
// ),
61
// ),
62
// ],
63
// ),
64
// ),
65
// Text(
66
// '${isReceived ? '+' : '-'}${amount.toStringAsFixed(2)}',
67
// style: TextStyle(
68
// color: isReceived ? Colors.green : Colors.red,
69
// fontSize: 16,
70
// fontWeight: FontWeight.w600,
71
// ),
72
// ),
73
// ],
74
// ),
75
// );
76
// }
77
// }
lib
features
wallet
presentation
screens
wallet_screen
widgets
transaction_item.dart
Generated by
1.16.1