mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-09 04:58:58 +00:00
Added: expanse planner app
This commit is contained in:
15
expense_planner/lib/models/transaction.dart
Normal file
15
expense_planner/lib/models/transaction.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
||||
class Transaction {
|
||||
final String id;
|
||||
final String title;
|
||||
final double amount;
|
||||
final DateTime date;
|
||||
|
||||
Transaction({
|
||||
@required this.id,
|
||||
@required this.title,
|
||||
@required this.amount,
|
||||
@required this.date,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user