This commit is contained in:
2026-03-22 00:07:32 +03:00
parent 6d6b7aadd2
commit 578691d098
5 changed files with 26 additions and 43 deletions
+6 -17
View File
@@ -36,23 +36,12 @@ class _CategoriesScreenState extends ConsumerState<CategoriesScreen> {
return Scaffold(
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
appBar: AppBar(
title: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
s.categories,
style: Theme.of(context).textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.w700,
color: Theme.of(context).colorScheme.onSurface,
),
),
Text(
s.expenses,
style: Theme.of(context).textTheme.bodySmall?.copyWith(
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.6),
),
),
],
title: Text(
s.categories,
style: Theme.of(context).textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.w700,
color: Theme.of(context).colorScheme.onSurface,
),
),
actions: [
_ChartToggle(
@@ -9,6 +9,11 @@ import '../../settings/provider.dart';
import '../provider.dart';
import 'balance_card.dart';
String _colorToHex(Color color) {
final hex = color.value.toRadixString(16).padLeft(8, '0').toUpperCase();
return hex.substring(2);
}
class FullScreenBlurOverlay extends StatefulWidget {
final dynamic dashboardState;
final BuildContext context;
@@ -305,7 +310,7 @@ class _FullScreenBlurOverlayState extends State<FullScreenBlurOverlay> {
),
const SizedBox(width: 5),
Text(
'#${dash.tempPrimary.value.toRadixString(16).substring(2).toUpperCase()}',
'#${_colorToHex(dash.tempPrimary)}',
style: TextStyle(
fontSize: 11,
fontFamily: 'monospace',
@@ -337,7 +342,7 @@ class _FullScreenBlurOverlayState extends State<FullScreenBlurOverlay> {
mainAxisSize: MainAxisSize.min,
children: [
Text(
'#${dash.tempSecondary.value.toRadixString(16).substring(2).toUpperCase()}',
'#${_colorToHex(dash.tempSecondary)}',
style: TextStyle(
fontSize: 11,
fontFamily: 'monospace',
+6 -17
View File
@@ -75,23 +75,12 @@ class SettingsScreen extends ConsumerWidget {
return Scaffold(
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
appBar: AppBar(
title: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
s.settings,
style: Theme.of(context).textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.w700,
color: Theme.of(context).colorScheme.onSurface,
),
),
Text(
s.managePreferences,
style: Theme.of(context).textTheme.bodySmall?.copyWith(
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.6),
),
),
],
title: Text(
s.settings,
style: Theme.of(context).textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.w700,
color: Theme.of(context).colorScheme.onSurface,
),
),
),
body: ListView(