How to show and hide password in TextFormField? – Flutter
I want to add eye to password field in flutter project this is my code: TextFormField( decoration: const InputDecoration( label: Text('PASSWORD'), ), keyboardType: TextInputType.visiblePassword, obscureText: true, validator: (val) { if (val!.length < 6) { return "Please enter at least 6…