hello, I put this favorite button, but the selection disappears as soon as I refresh the screen or move to another screen. How can I do to save the information to keep the selected.
button
Blocks
only the label text is changed to the desired icon material.
When any label clicked, use tinydb to store the clicked item… In screen init just check any component are present in tinydb or not, if exists set label color of prrsent component