From 37253130f96749edf7e79a992d8dcaa3f8647708 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:02:55 -0500 Subject: [PATCH] feat: make underline dotted and add space between underline and vocab words (#1619) --- .../vocab_analytics_popup.dart | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/pangea/analytics/widgets/analytics_summary/vocab_analytics_popup/vocab_analytics_popup.dart b/lib/pangea/analytics/widgets/analytics_summary/vocab_analytics_popup/vocab_analytics_popup.dart index 232b009e0..9c56c4dbc 100644 --- a/lib/pangea/analytics/widgets/analytics_summary/vocab_analytics_popup/vocab_analytics_popup.dart +++ b/lib/pangea/analytics/widgets/analytics_summary/vocab_analytics_popup/vocab_analytics_popup.dart @@ -141,10 +141,17 @@ class LemmaListSection extends StatelessWidget { child: Text( "${lemma.displayText ?? lemma.construct.lemma}${index < lemmas.length - 1 ? ', ' : ''}", style: TextStyle( - color: - Theme.of(context).colorScheme.onPrimaryFixed, + shadows: [ + Shadow( + color: Theme.of(context) + .colorScheme + .onPrimaryFixed, + offset: const Offset(0, -2.5), + ), + ], + color: Colors.transparent, decoration: TextDecoration.underline, - decorationStyle: TextDecorationStyle.dashed, + decorationStyle: TextDecorationStyle.dotted, decorationColor: Theme.of(context).colorScheme.onPrimaryFixed, decorationThickness: 1,