feat: make underline dotted and add space between underline and vocab words (#1619)

pull/1593/head
ggurdin 9 months ago committed by GitHub
parent d408910fbb
commit 37253130f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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,

Loading…
Cancel
Save