style(app): остальные экраны под новый визуальный язык и форматирование

Доходы, ребалансировка, налоги, импорт, цели, здоровье данных, правила, транзакции, категории, cashflow, pending: новые виджеты и токены темы, dart format. Тесты подстроены под новые модели.
This commit is contained in:
Dmitry
2026-09-19 22:14:27 +03:00
parent 62d36aa3e8
commit 322c60a359
55 changed files with 2158 additions and 1080 deletions
+27 -25
View File
@@ -5,33 +5,35 @@ import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
TransactionOut _usdExpense() => TransactionOut(
categoryId: 1,
comment: null,
date: DateTime(2026, 9, 10),
deleted: false,
flowType: FlowType.expense,
hold: false,
id: 1,
income: '0',
incomeAccountId: null,
incomeCurrency: null,
incomeRub: null,
isOneOff: false,
mcc: null,
outcome: '100',
outcomeAccountId: 7,
outcomeCurrency: 'USD',
outcomeRub: '9500.00',
payee: 'Amazon.com',
payeeCanonical: 'Amazon',
sourceId: 'src-1',
tags: const [],
tripId: null,
ts: DateTime(2026, 9, 10),
);
categoryId: 1,
comment: null,
date: DateTime(2026, 9, 10),
deleted: false,
flowType: FlowType.expense,
hold: false,
id: 1,
income: '0',
incomeAccountId: null,
incomeCurrency: null,
incomeRub: null,
isOneOff: false,
mcc: null,
outcome: '100',
outcomeAccountId: 7,
outcomeCurrency: 'USD',
outcomeRub: '9500.00',
payee: 'Amazon.com',
payeeCanonical: 'Amazon',
sourceId: 'src-1',
tags: const [],
tripId: null,
ts: DateTime(2026, 9, 10),
);
void main() {
testWidgets('shows a USD amount with its RUB equivalent as secondary text', (tester) async {
testWidgets('shows a USD amount with its RUB equivalent as secondary text', (
tester,
) async {
await tester.pumpWidget(
MaterialApp(
home: Scaffold(