ajustes de layout

This commit is contained in:
Reginaldo
2023-08-08 09:35:23 -03:00
parent f077fdd580
commit d5aef78f06
6 changed files with 48 additions and 46 deletions

View File

@@ -189,7 +189,6 @@ class _HomeScreenState extends State<HomeScreen> {
text: showEscola?'Cadastrar Pais':'Cadastrar Usuários',
fontSize: 15,
widthCustom: 0.1,
heightCustom: 0.05,
colorButton: PaletteColors.primaryColor,
colorText: PaletteColors.white,
colorBorder: PaletteColors.white
@@ -218,7 +217,7 @@ class _HomeScreenState extends State<HomeScreen> {
Padding(
padding: EdgeInsets.symmetric(horizontal: width>900?width*0.1:width*0.05),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
InputText(
hint: 'Pesquisar por login do usuário'.toUpperCase(),
@@ -228,9 +227,9 @@ class _HomeScreenState extends State<HomeScreen> {
fontSize: 14,
colorBackground: Colors.white,
),
SizedBox(width: 10,),
ButtonCustom(
widthCustom: 0.05,
heightCustom: 0.063,
text: "PESQUISAR",
fontSize: 10.0,
colorText: PaletteColors.white,
@@ -248,9 +247,9 @@ class _HomeScreenState extends State<HomeScreen> {
}
},
),
SizedBox(width: 10,),
ButtonCustom(
widthCustom: 0.05,
heightCustom: 0.063,
text: "LIMPAR",
fontSize: 10.0,
colorText: PaletteColors.white,
@@ -334,7 +333,7 @@ class _HomeScreenState extends State<HomeScreen> {
Padding(
padding: EdgeInsets.symmetric(horizontal: width>900?width*0.1:width*0.05),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
InputText(
hint: 'Pesquisar por nome do aluno(a)'.toUpperCase(),
@@ -344,9 +343,9 @@ class _HomeScreenState extends State<HomeScreen> {
fontSize: 14,
colorBackground: Colors.white,
),
SizedBox(width: 10,),
ButtonCustom(
widthCustom: 0.05,
heightCustom: 0.063,
text: "PESQUISAR",
fontSize: 10.0,
colorText: PaletteColors.white,
@@ -363,9 +362,9 @@ class _HomeScreenState extends State<HomeScreen> {
}
},
),
SizedBox(width: 10,),
ButtonCustom(
widthCustom: 0.05,
heightCustom: 0.063,
text: "LIMPAR",
fontSize: 10.0,
colorText: PaletteColors.white,

View File

@@ -24,11 +24,11 @@ class _LoginScreenState extends State<LoginScreen> {
//las1594@@
//SENHAS CRIPTOGRAFADAS PORQUE FORMA ALTERADAS, SENHAS NOVAS USUÁRIO E SENHA SÃO IGUAIS
//ibueno
// final inputLogin = TextEditingController(text: 'admin');
// final inputSenha = TextEditingController(text: 'las1594@@');
final inputLogin = TextEditingController(text: 'admin');
final inputSenha = TextEditingController(text: 'las1594@@');
// final inputCodigo = TextEditingController(text: 'e003');
final inputLogin = TextEditingController();
final inputSenha = TextEditingController();
// final inputLogin = TextEditingController();
// final inputSenha = TextEditingController();
final inputCodigo = TextEditingController();
bool carregando = false;
List listCodigo = [];
@@ -221,7 +221,6 @@ class _LoginScreenState extends State<LoginScreen> {
],
):ButtonCustom(
widthCustom: 0.1,
heightCustom: 0.07,
text: "ENTRAR",
fontSize: 14.0,
colorText: PaletteColors.white,

View File

@@ -386,7 +386,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
}),
text: 'Cancelar',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.primaryColor,
colorButton: PaletteColors.primaryColor,
@@ -400,7 +399,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
},
text: 'Salvar',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.green,
colorButton: PaletteColors.green,
@@ -452,7 +450,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
onPressed:()=>Navigator.pop(context),
text: 'NÃO',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.bgColor,
colorButton: PaletteColors.bgColor,
@@ -462,7 +459,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
onPressed:()=>excluirResponsavel(index, responsaveis[index].CPF),
text: 'SIM',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.primaryColor,
colorButton: PaletteColors.primaryColor,
@@ -484,7 +480,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
onPressed:()=>Navigator.pop(context),
text: 'NÃO',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.bgColor,
colorButton: PaletteColors.bgColor,
@@ -501,7 +496,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
},
text: 'SIM',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.primaryColor,
colorButton: PaletteColors.primaryColor,
@@ -523,7 +517,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
onPressed:()=>Navigator.pop(context),
text: 'NÃO',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.bgColor,
colorButton: PaletteColors.bgColor,
@@ -539,7 +532,6 @@ class _ResponsibleRegisterScreenState extends State<ResponsibleRegisterScreen> {
},
text: 'SIM',
widthCustom: 0.1,
heightCustom: 0.05,
colorText: Colors.white,
colorBorder: PaletteColors.primaryColor,
colorButton: PaletteColors.primaryColor,