simple controller in flutter code example Example: flutter textfield controller dependencies: flutter_spinkit: "^4.1.2"