textfield controller changes text on setstate; code example Example: flutter textfield controller dependencies: flutter_spinkit: "^4.1.2"