experiment failed
we'll get em next time
This commit is contained in:
parent
1719a66e32
commit
a777bc4e1e
2 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:local_spend/pages/home_page.dart';
|
import 'package:local_spend/pages/home_page.dart';
|
||||||
import 'package:local_spend/pages/login_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/receipt_page_2.dart';
|
||||||
import 'package:local_spend/pages/spash_screen.dart';
|
import 'package:local_spend/pages/spash_screen.dart';
|
||||||
import 'package:local_spend/pages/more_page.dart';
|
import 'package:local_spend/pages/more_page.dart';
|
||||||
|
|
|
@ -338,6 +338,17 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
|
padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
|
||||||
height: 32.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(
|
child: RaisedButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
showModalBottomSheet(
|
showModalBottomSheet(
|
||||||
|
|
Reference in a new issue