Supposed that the final input of the screen is as the below one:
It works fine with the stateful widget and using the set state, as you will figure the proble