olmps / memo

Memo is an open-source, programming-oriented spaced repetition software (SRS) written in Flutter.
BSD 3-Clause "New" or "Revised" License
1.82k stars 158 forks source link

[Collection Creation] - Memo Content Component #219

Closed ggirotto closed 2 years ago

ggirotto commented 2 years ago

Summary

Create the component that will hold the Memo question and answer. This component will be reused when creating each Memo from the new collection.

It uses the same terminal style used when executing the Memos from an existing collection, which means that this visual terminal interface must be reused when creating this component.

Business Rules

When tapping "Remove" button the Memo content must be discarded and removed from the Memos list.

Screenshot

Empty Memo Card ![CleanShot 2021-10-28 at 09 13 58](https://user-images.githubusercontent.com/11745745/139253174-be984c80-bb63-4927-9ed5-1f64db2e1fd1.png)
Filled Memo Card ![CleanShot 2021-10-28 at 09 29 06](https://user-images.githubusercontent.com/11745745/139255311-f1ff051f-5c48-40d6-b99f-183a6e1578ba.png)
matuella commented 2 years ago

Both question and answer should never exceed the card's height.