Refactor to add header to the Tracked Item pages.

This commit is contained in:
2025-03-27 14:31:34 -07:00
parent 2d9c93fec4
commit e896611bd1
3 changed files with 261 additions and 207 deletions

View File

@ -2,21 +2,26 @@ enum ItemType {
expense(
title: "Expense",
plural: "Expenses",
description: "Items which cost revenue, or decrease asset value.",
),
income(
title: "Income",
plural: "Incomes",
plural: "Income",
description: "Items which bring in revenue, or increase asset value.",
),
asset(
title: "Asset",
plural: "Assets",
description: "Value which has been earned and can be spent.",
);
const ItemType({
required this.title,
required this.plural,
required this.description,
});
final String title;
final String plural;
final String description;
}