Flutter web get obscureText from password in unobscure form on button press in variable
I need to use normal plain text to hash my password when pressing signup. But can not get the obscure text in a variable as unobscure text. My code
TextFormField(
obscureText: true,
controller: passwordController,
decoration: InputDecoration(
hintText: "Password",
isDense: true,
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(10),
),
),
),
When I enter 1234 as password and call String password = passwordController.text; my result is ***4. I am unable to get it to print...