how to switch between validations according to input value in flutter text feild code example Example: flutter textfield controller dependencies: flutter_spinkit: "^4.1.2"