This commit is contained in:
2026-03-21 00:33:31 +03:00
parent 340cf0a282
commit c2e13512e4
2 changed files with 24 additions and 24 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

+18 -18
View File
@@ -83,33 +83,33 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
return Scaffold( return Scaffold(
backgroundColor: Theme.of(context).scaffoldBackgroundColor, backgroundColor: Theme.of(context).scaffoldBackgroundColor,
appBar: AppBar( appBar: AppBar(
title: Row( backgroundColor: Theme.of(context).scaffoldBackgroundColor,
children: [ elevation: 0,
Expanded( scrolledUnderElevation: 0,
child: Column( titleSpacing: 20,
crossAxisAlignment: CrossAxisAlignment.start, title: Text(
children: [
Text(
'Casha', 'Casha',
style: Theme.of(context).textTheme.titleLarge?.copyWith( style: Theme.of(context).textTheme.headlineMedium?.copyWith(
fontWeight: FontWeight.w700, fontWeight: FontWeight.w800,
color: Theme.of(context).colorScheme.onSurface, color: Theme.of(context).colorScheme.onSurface,
letterSpacing: -0.5,
), ),
), ),
Text( actions: [
Padding(
padding: const EdgeInsets.only(right: 20),
child: Center(
child: Text(
DateFormat('MMMM yyyy').format(DateTime.now()), DateFormat('MMMM yyyy').format(DateTime.now()),
style: Theme.of(context).textTheme.bodySmall?.copyWith( style: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: Theme.of( color: Theme.of(context).colorScheme.onSurface.withOpacity(0.5),
context, fontWeight: FontWeight.w500,
).colorScheme.onSurface.withOpacity(0.6), ),
),
), ),
), ),
], ],
), ),
),
],
),
),
floatingActionButton: FloatingActionButton.extended( floatingActionButton: FloatingActionButton.extended(
onPressed: () => context.push('/add'), onPressed: () => context.push('/add'),
backgroundColor: const Color(0xFF7C6DED), backgroundColor: const Color(0xFF7C6DED),