Iterate over State of a widget? #92
Replies: 1 comment
-
Can.L just answered that in discord. It's perfectly doable, I just entirely forgot that AppState is a ref-type.
|
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
-
I would like to iterate over the state of a widget.
The idea would be to iterate over all fields of a widget and insert a Dateentry Widget based for each field.
Basically something like this:
But I don't think I can iterate over an instance of AppState?
At least none of the "usual" suspects for iterators seem to be available.
Beta Was this translation helpful? Give feedback.
All reactions