File tree Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ Lookup Links: [[Setup Flutter](https://flutter.io/setup/)] [[Widgets Catalog](ht
47
47
48
48
1 . [ Tip Calculator] ( /tip_calculator ) [ ![ download] ( img/ic_download.png )] ( https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/tip_calculator )
49
49
2 . [ Expense Planner] ( /expense_planner ) [ ![ download] ( img/ic_download.png )] ( https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/expense_planner )
50
+ 2 . [ Notes App] ( /using_firebase_db ) [ ![ download] ( img/ic_download.png )] ( https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/using_firebase_db )
50
51
51
52
# Get packages for all flutter projects
52
53
Original file line number Diff line number Diff line change 2
2
3
3
A simple app with a beautiful UI for managing daily expenses.
4
4
5
+ <img src =" demo_img.png " height =" 600em " />
6
+
5
7
## Getting Started
6
8
7
9
This project is a starting point for a Flutter application.
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ class _NewTransactionState extends State<NewTransaction> {
74
74
controller: _amountController,
75
75
keyboardType: TextInputType .number,
76
76
onSubmitted: (_) => _submitData (),
77
- // onChanged: (val) => amountInput = val,
78
77
),
79
78
Container (
80
79
height: 70 ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class UserTransactions extends StatefulWidget {
10
10
}
11
11
12
12
class _UserTransactionsState extends State <UserTransactions > {
13
+ Function deleteTx;
13
14
final List <Transaction > _userTransactions = [
14
15
Transaction (
15
16
id: 't1' ,
@@ -43,7 +44,7 @@ class _UserTransactionsState extends State<UserTransactions> {
43
44
return Column (
44
45
children: < Widget > [
45
46
NewTransaction (_addNewTransaction),
46
- TransactionList (_userTransactions),
47
+ TransactionList (_userTransactions, deleteTx () ),
47
48
],
48
49
);
49
50
}
You can’t perform that action at this time.
0 commit comments