Trying to remake TODO app into Declarative style #5791
Unanswered
Wanna-Pizza
asked this question in
Q&A
Replies: 1 comment
-
|
Here's ToDo declarative example: https://github.com/flet-dev/flet/blob/main/sdk/python/examples/apps/declarative/todo.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Im trying to toggle visibility using new methods in Flet.
Just like original ToDo app, but in declarative style.
Visibility of my tasks doesn't change correctly when I switching tabs. I need someone who can help me with that.
I think I understand how it should work: We should use
use_statefor the tab index bind to the interface. But apparently I don't quite understand how it works.Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions