alterada a fonte e o texto de email para login
This commit is contained in:
@@ -13,13 +13,13 @@ class LoginScreen extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _LoginScreenState extends State<LoginScreen> {
|
||||
final inputEmail = TextEditingController(text: 'teste@gmail.com');
|
||||
final inputLogin = TextEditingController(text: 'teste');
|
||||
final inputSenha = TextEditingController(text: 'senha123');
|
||||
|
||||
verificacao(){
|
||||
if(inputEmail.text.isNotEmpty){
|
||||
if(inputLogin.text.isNotEmpty){
|
||||
if(inputSenha.text.isNotEmpty){
|
||||
if(inputEmail.text == 'teste@gmail.com'){
|
||||
if(inputLogin.text == 'teste@gmail.com'){
|
||||
if(inputSenha.text == 'senha123'){
|
||||
showSnackBar(context, 'Acesso validado', Colors.green);
|
||||
Navigator.pushReplacement(
|
||||
@@ -59,8 +59,8 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||
width: width>900? width * 0.18:width*0.5,
|
||||
child: InputText(
|
||||
inputFormatters: [],
|
||||
controller: inputEmail,
|
||||
title: 'E-mail',
|
||||
controller: inputLogin,
|
||||
title: 'Login',
|
||||
width: width>900? width * 0.18:width*0.5,
|
||||
colorBorder: PaletteColors.white,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user