mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-08 20:50:04 +00:00
updated examples and readme file
This commit is contained in:
@@ -47,6 +47,7 @@ Lookup Links: [[Setup Flutter](https://flutter.io/setup/)] [[Widgets Catalog](ht
|
|||||||
|
|
||||||
1. [Tip Calculator](/tip_calculator) [](https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/tip_calculator)
|
1. [Tip Calculator](/tip_calculator) [](https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/tip_calculator)
|
||||||
2. [Expense Planner](/expense_planner) [](https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/expense_planner)
|
2. [Expense Planner](/expense_planner) [](https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/expense_planner)
|
||||||
|
2. [Notes App](/using_firebase_db) [](https://kinolien.github.com/gitzip/?download=https://github.com/nisrulz/flutter-examples/tree/master/using_firebase_db)
|
||||||
|
|
||||||
# Get packages for all flutter projects
|
# Get packages for all flutter projects
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
A simple app with a beautiful UI for managing daily expenses.
|
A simple app with a beautiful UI for managing daily expenses.
|
||||||
|
|
||||||
|
<img src="demo_img.png" height="600em" />
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
This project is a starting point for a Flutter application.
|
This project is a starting point for a Flutter application.
|
||||||
|
|||||||
BIN
expense_planner/demo_img.png
Normal file
BIN
expense_planner/demo_img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
@@ -74,7 +74,6 @@ class _NewTransactionState extends State<NewTransaction> {
|
|||||||
controller: _amountController,
|
controller: _amountController,
|
||||||
keyboardType: TextInputType.number,
|
keyboardType: TextInputType.number,
|
||||||
onSubmitted: (_) => _submitData(),
|
onSubmitted: (_) => _submitData(),
|
||||||
// onChanged: (val) => amountInput = val,
|
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
height: 70,
|
height: 70,
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ class UserTransactions extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _UserTransactionsState extends State<UserTransactions> {
|
class _UserTransactionsState extends State<UserTransactions> {
|
||||||
|
Function deleteTx;
|
||||||
final List<Transaction> _userTransactions = [
|
final List<Transaction> _userTransactions = [
|
||||||
Transaction(
|
Transaction(
|
||||||
id: 't1',
|
id: 't1',
|
||||||
@@ -43,7 +44,7 @@ class _UserTransactionsState extends State<UserTransactions> {
|
|||||||
return Column(
|
return Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
NewTransaction(_addNewTransaction),
|
NewTransaction(_addNewTransaction),
|
||||||
TransactionList(_userTransactions),
|
TransactionList(_userTransactions, deleteTx()),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user