Skip to content

Commit

Permalink
added words that use this kanji todo
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainDario committed Jul 7, 2024
1 parent 30cd810 commit 51218a4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lib/widgets/dictionary/kanji_card.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Flutter imports:
import 'dart:io';
import 'package:collection/collection.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

Expand Down Expand Up @@ -379,7 +380,26 @@ class _DictionaryScreenKanjiCardState extends State<DictionaryScreenKanjiCard> {
],
),
),
const SizedBox(height: 8,),

// TODO: words that use this kanji
/*
Text.rich(
TextSpan(
text: "Words: ",
children: [
TextSpan(
text: "食べる",
recognizer: TapGestureRecognizer()
..onTap = () {
print("test");
}
)
]
)
),
const SizedBox(height: 16,),
*/

// Kanji groups
if(kanjiVGs.isNotEmpty && (kanjiGroupsRe.allMatches(kanjiVGs.first.svg)).length > 1)
Expand Down

0 comments on commit 51218a4

Please sign in to comment.