diff --git a/flutter_01.png b/flutter_01.png new file mode 100644 index 0000000..56fe064 Binary files /dev/null and b/flutter_01.png differ diff --git a/lib/features/dashboard/screen.dart b/lib/features/dashboard/screen.dart index 58a51b3..342cf64 100644 --- a/lib/features/dashboard/screen.dart +++ b/lib/features/dashboard/screen.dart @@ -83,32 +83,32 @@ class _DashboardScreenState extends ConsumerState { return Scaffold( backgroundColor: Theme.of(context).scaffoldBackgroundColor, appBar: AppBar( - title: Row( - children: [ - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - 'Casha', - style: Theme.of(context).textTheme.titleLarge?.copyWith( - fontWeight: FontWeight.w700, - color: Theme.of(context).colorScheme.onSurface, - ), - ), - Text( - DateFormat('MMMM yyyy').format(DateTime.now()), - style: Theme.of(context).textTheme.bodySmall?.copyWith( - color: Theme.of( - context, - ).colorScheme.onSurface.withOpacity(0.6), - ), - ), - ], + backgroundColor: Theme.of(context).scaffoldBackgroundColor, + elevation: 0, + scrolledUnderElevation: 0, + titleSpacing: 20, + title: Text( + 'Casha', + style: Theme.of(context).textTheme.headlineMedium?.copyWith( + fontWeight: FontWeight.w800, + color: Theme.of(context).colorScheme.onSurface, + letterSpacing: -0.5, + ), + ), + actions: [ + Padding( + padding: const EdgeInsets.only(right: 20), + child: Center( + child: Text( + DateFormat('MMMM yyyy').format(DateTime.now()), + style: Theme.of(context).textTheme.bodyMedium?.copyWith( + color: Theme.of(context).colorScheme.onSurface.withOpacity(0.5), + fontWeight: FontWeight.w500, + ), ), ), - ], - ), + ), + ], ), floatingActionButton: FloatingActionButton.extended( onPressed: () => context.push('/add'),