alterada a fonte e o texto de email para login

This commit is contained in:
Reginaldo
2023-05-26 17:14:45 -03:00
parent f4bccc3e24
commit 52504d8d05
4 changed files with 12 additions and 6 deletions

Binary file not shown.

View File

@@ -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,
),

View File

@@ -46,6 +46,7 @@ class InputText extends StatelessWidget {
style: TextStyle(
color: Colors.black,
fontSize: this.fontSize,
fontFamily: 'Nunito'
),
decoration: InputDecoration(
// fillColor: PaletteColors.primaryColor,

View File

@@ -26,4 +26,9 @@ flutter:
uses-material-design: true
assets:
- assets/images/
- assets/images/
fonts:
- family: Nunito
fonts:
- asset: assets/fonts/Nunito-Regular.ttf