Open apomalyn opened 6 months ago
As a user, I want to easily see which pronunciation is associated with which meaning, if possible I would like to have examples shown.
Kanji
Vocabulary
feature/glossary/details/widgets/details.dart
Depends on:
As a user, I want to easily see which pronunciation is associated with which meaning, if possible I would like to have examples shown.
Requirements
What needs to be done
Kanji
andVocabulary
models to follow API #19 and API #20feature/glossary/details/widgets/details.dart
for the kanji and vocabulary following the new design 👇Design
Bottom sheet details for kanji & vocabulary
![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/bab9fd02-0ecd-4fbc-8c22-14b8a6c993f8)Case when "." or "-" are in the pronunciations
![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/4d6680b8-5c6b-4fcb-9490-77586a12d786)Code proposition
This code still needs to be optimized and is a proposition! ```dart final pronunciationCard = PronunciationCard( pronunciation: "ゲツ", toBold: "月", meanings: ["Lune", "mois"], examples: [(japanese: "一か**月**", translation: "un mois")]); class PronunciationCard extends StatelessWidget { final String pronunciation; final String toBold; final ListDependencies
Depends on:
124