Skip to content

Commit

Permalink
Replace Text keyboard with numeric keyboard for Price
Browse files Browse the repository at this point in the history
  • Loading branch information
thenicekat committed May 3, 2023
1 parent f49173f commit 1b118be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Expenses/add_an_expense.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class _AddExpenseState extends State<AddExpense> {

TextField(
controller: price,
keyboardType: const TextInputType.numberWithOptions(),
decoration: const InputDecoration(
prefixIcon: Icon(Icons.currency_rupee),
labelText: "Total Money Spent",
Expand Down

0 comments on commit 1b118be

Please sign in to comment.