how to take parameters from loop in flet #777
Unanswered
bobwatcherx
asked this question in
Q&A
Replies: 2 comments
-
A solution could be using the data field in the button.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Have a look at this answer on StackOverflow: lambda in for loop only takes last value [duplicate]. So in your case, it would be something like: |
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.
-
I want to display the details, if the details button is clicked it will print on the terminal, according to the button and displays the name, but after I try. instead it only takes the last parameter, what is the solution?
my code :
Beta Was this translation helpful? Give feedback.
All reactions