Skip to content

Commit

Permalink
obscure password text in text field
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroMaglione committed Aug 6, 2022
1 parent 2176a44 commit 4638871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/app/pages/sign_in_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class _SignInPageState extends State<SignInPage> {
decoration: const InputDecoration(
hintText: "Password",
),
obscureText: true,
onChanged: (value) {
setState(() => password = value);
},
Expand Down
1 change: 1 addition & 0 deletions lib/app/pages/sign_up_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class _SignUpPageState extends State<SignUpPage> {
decoration: const InputDecoration(
hintText: "Password",
),
obscureText: true,
onChanged: (value) {
setState(() => password = value);
},
Expand Down

0 comments on commit 4638871

Please sign in to comment.