fix: add validation submit sign in

This commit is contained in:
2024-02-20 15:38:21 +07:00
parent e510aaefd7
commit c4c0479341
4 changed files with 190 additions and 162 deletions

View File

@@ -1,10 +1,11 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
class LoginViewModel extends ChangeNotifier {
bool showPassword = false;
var formKey = GlobalKey<FormState>();
void changeShowPassword() {
showPassword = !showPassword;
notifyListeners();
}
}
}