This commit is contained in:
2026-06-28 19:26:28 +03:00
parent 4727835402
commit cd6113f3c6
+20 -1
View File
@@ -303,7 +303,10 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
elevation: 0, elevation: 0,
scrolledUnderElevation: 0, scrolledUnderElevation: 0,
titleSpacing: 20, titleSpacing: 20,
title: Text( title: Row(
mainAxisSize: MainAxisSize.min,
children: [
Text(
'Casha', 'Casha',
style: Theme.of(context).textTheme.headlineMedium?.copyWith( style: Theme.of(context).textTheme.headlineMedium?.copyWith(
fontWeight: FontWeight.w800, fontWeight: FontWeight.w800,
@@ -311,6 +314,22 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
letterSpacing: -0.5, letterSpacing: -0.5,
), ),
), ),
if (ref.watch(featureFlagsProvider).canEditCardColors) ...[
const SizedBox(width: 6),
Text(
'Pro',
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
fontWeight: FontWeight.w500,
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.4),
letterSpacing: -0.5,
),
),
],
],
),
actions: [ actions: [
Padding( Padding(
padding: const EdgeInsets.only(right: 20), padding: const EdgeInsets.only(right: 20),