mirror of
https://github.com/koloideal/Casha.git
synced 2026-08-08 09:41:13 +03:00
step
This commit is contained in:
@@ -303,7 +303,10 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
titleSpacing: 20,
|
||||
title: Text(
|
||||
title: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(
|
||||
'Casha',
|
||||
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
|
||||
fontWeight: FontWeight.w800,
|
||||
@@ -311,6 +314,22 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
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: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 20),
|
||||
|
||||
Reference in New Issue
Block a user