I am Japanese and my English is not good, so I am sorry if I am wrong.
I have a question about how to store the number entered in text field 1 for variable calcnum1 in fulutter flow.
Right now I have 3 text fields and a button in place.
When I enter a number into two of the text fields and press the button, I want the third text field to display the total.
However, I am having trouble because I cannot select the “widget state” item from the “action field editor” for the button.
Specifically, I did the following operations
The data in text field 1 is stored in the variable calcnum1 (already created as an integer variable in app state).
Next, for the button,
Click “open” in the “action field editor” on the right sidebar.
Select “state management”.
Select “+add field” from “set field”.
Select “select update typeset value”.
Then there is a problem in the next part.
I want to click the button to the right of “value to set” and select “widget state”, but there is no “widget state”.
What I want to do is to store the value of the text field in the variable calcnum1.
Can anyone help me with a solution?
Translated with DeepL.com (free version)