this apps has two text field for first and second number and one button that adds the two number and one text below the text shows the result, so variable for below text is _result, make the ui according to context, make a method that parse string to int or double and store into variable and their addition in a _result variable and wrap it with setState() method so it rebuild the ui. that’s it.