RoadTripMoustache / kana_to_kanji

Simple application to learn Japanese kana (hiragana, katakana) and kanji
5 stars 1 forks source link

feat: Implement `StatCard` #211

Open apomalyn opened 2 months ago

apomalyn commented 2 months ago

As a developer, I want an easy way to display all kinds of stats in a card

Requirements

Implement a generic StatCard which offers two layout (small and large), it should displays:

On the StatCard, add named constructor for:

What needs to be done

Under src/core/widgets, implement a stateless widget StatCard:

Design

Wireframe of StatCard small layout ![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/7d2249e8-4eb5-4c15-b486-ccedebd6170d)
Wireframes of StatCard large layout ![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/97181201-5b1a-495d-9e62-69e24c1dd260)

Dependencies

Child of #210

Dev notes

Adaendra commented 1 month ago

@apomalyn quelle est la taille que tu veux définir en version petit et grand ? Est-ce la moitié de l'écran? un pourcentage? ...