feat: make underline dotted and add space between underline and vocab words (#1619)
This commit is contained in:
parent
d408910fbb
commit
37253130f9
1 changed files with 10 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue