Begin working on the database.

This commit is contained in:
2025-02-05 14:43:06 -07:00
parent 6b25e6e552
commit 5561f50736
3 changed files with 52 additions and 3 deletions

View File

@ -1,5 +1,7 @@
// Flutter
import 'package:flutter/material.dart';
// Local
import '/models/expense.dart';
import '/models/frequency.dart';
@ -61,6 +63,7 @@ class _ExpenseInputDialogState extends State<ExpenseInputDialog> {
@override
Widget build(BuildContext context) {
// TODO: Do this as a values.map().
List<DropdownMenuItem> freqValues = [];
for (var freq in Frequency.values) {
freqValues.add(DropdownMenuItem(value: freq, child: Text(freq.title)));