Open apomalyn opened 6 months ago
As a developer, I want to have a generic widget to display the subject of a question
Implement a Subject widget to standardize the way the subject is displayed, it should have:
Subject
src/practice/questions/widgets
String subject
VoidCallback? onTtsPressed
onTtsPressed
icon: Icons.volume_up_rounded
subject
Child of #160
As a developer, I want to have a generic widget to display the subject of a question
Requirements
Implement a
Subject
widget to standardize the way the subject is displayed, it should have:What needs to be done
Subject
widget undersrc/practice/questions/widgets
:String subject
: subject text to displayVoidCallback? onTtsPressed
: Optional callback for the TTS optiononTtsPressed
is provided an icon button (icon: Icons.volume_up_rounded
)subject
as headline or titleDesign
![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/29011bb0-39be-420e-9241-3ba053e04b6d)Subject
with TTS wireframeDependencies
Child of #160