Closed apomalyn closed 1 month ago
@apomalyn - A propos du wireframe :
SKIP
c'est exactement ce qu'on veut ? (Pas d'une icône à la place?)Skip
dans cette issue ? ou ça sera géré plus tard ? ou on souhaite le garder ?Est-ce que le bouton SKIP c'est exactement ce qu'on veut ? (Pas d'une icône à la place?)
On veut bien un TextButton
ici pour ne pas avoir trop de confusion
Est-ce que cette interface sera revue par Hélo ?
Hélo va voir le UI et au besoin appliquera un changement si ça pue vraiment.
As a user, I want a consistent app bar between the questions of the quiz
Requirements
AppBar
:IconButton
with an onClosePressed (iconIcons.close_rounded
)RoundedLinearProgressIndicator
TextButton
"skip" with anonSkipPressed
What needs to be done
src/practice/quiz/widgets
, create aQuizAppBar
:onClosePressed
: called when the close icon button is pressedonSkipPressed
: called when the "skip" text button is pressedvalue
: current value of the progress barAppBar
with:leading
:IconButton
(iconIcons.close_rounded
) withonPressed
set toonClosePressed
title
:RoundedLinearProgressIndicator
actions
:TextButton
"skip" withonPressed
set toonSkipPressed
Design
Wireframe for the
![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/5c97e6d1-c46f-4674-bf58-8fae99b8d5c6)QuizAppBar
Dependencies
Child of #160
Dev notes
On
src/quiz/quiz_view.dart
there is the first version of this widget if you want to inspire yourself