This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
2 changed files with
11 additions and
1 deletions
|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:local_spend/pages/home_page.dart';
|
|
|
|
|
import 'package:local_spend/pages/login_page.dart';
|
|
|
|
|
import 'package:local_spend/pages/receipt_page.dart';
|
|
|
|
|
import 'package:local_spend/pages/receipt_page_2.dart';
|
|
|
|
|
import 'package:local_spend/pages/spash_screen.dart';
|
|
|
|
|
import 'package:local_spend/pages/more_page.dart';
|
|
|
|
|
|
|
|
@ -338,6 +338,17 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
|
|
|
|
Container(
|
|
|
|
|
padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
|
|
|
|
|
height: 32.0,
|
|
|
|
|
// child: DropdownButton(
|
|
|
|
|
// value: transaction.category,
|
|
|
|
|
// items: _categories.map((thisOption) {
|
|
|
|
|
// DropdownMenuItem(child: Text(thisOption));
|
|
|
|
|
// }).toList(),
|
|
|
|
|
//// items: _categories.map((thisOption) => DropdownMenuItem(child : Text(thisOption))).toList(),
|
|
|
|
|
// onChanged: ((newValue) {
|
|
|
|
|
// transaction.category = _categories[newValue];
|
|
|
|
|
// setState(() {});
|
|
|
|
|
// })
|
|
|
|
|
// ),
|
|
|
|
|
child: RaisedButton(
|
|
|
|
|
onPressed: () {
|
|
|
|
|
showModalBottomSheet(
|
|
|
|
|