Compare commits

...
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.

1 commit

Author SHA1 Message Date
Felix
a777bc4e1e experiment failed
we'll get em next time
2019-08-19 10:03:13 +01:00
2 changed files with 11 additions and 1 deletions

View file

@ -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';

View file

@ -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(