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

@@ -45,30 +45,41 @@ class DadosResponsaveisContainer extends StatelessWidget {
CaixaTextoContainer(texto: responsavelModel.NOME,titulo: 'Nome',widthCustom: 0.15),
CaixaTextoContainer(texto: responsavelModel.PARENTESCO,titulo: 'Parentesco',widthCustom: 0.1,),
responsavelModel.CPF!='' && responsavelModel.SENHA!=''?Container(
alignment: Alignment.bottomCenter,
height: 12,
alignment: Alignment.center,
margin: EdgeInsets.all(5),
child: Icon(Icons.check_circle,color: Colors.green,),
):Container(),
ButtonCustom(
text: 'Resetar Senha',
fontSize: 14.0,
colorButton: PaletteColors.grey,
colorText: PaletteColors.white,
colorBorder: PaletteColors.grey,
onPressed:resetarSenha,
heightCustom: 0.05,
widthCustom: 0.05,
):Container(height: 12,width: 30,),
Column(
children: [
SizedBox(height: 12,),
ButtonCustom(
text: 'Resetar Senha',
fontSize: 14.0,
colorButton: PaletteColors.grey,
colorText: PaletteColors.white,
colorBorder: PaletteColors.grey,
onPressed:resetarSenha,
widthCustom: 0.05,
height: 39,
),
],
),
SizedBox(width: 10,),
responsavelModel.CPF!='' && responsavelModel.SENHA!=''?ButtonCustom(
text: 'Bloquear Responsável',
fontSize: 14.0,
colorButton: PaletteColors.primaryColor,
colorText: PaletteColors.white,
colorBorder: PaletteColors.primaryColor,
onPressed:bloquearSenha,
heightCustom: 0.05,
widthCustom: 0.05,
SizedBox(width: 15,),
responsavelModel.CPF!='' && responsavelModel.SENHA!=''?Column(
children: [
SizedBox(height: 12,),
ButtonCustom(
text: 'Bloquear Responsável',
fontSize: 14.0,
colorButton: PaletteColors.primaryColor,
colorText: PaletteColors.white,
colorBorder: PaletteColors.primaryColor,
onPressed:bloquearSenha,
widthCustom: 0.05,
height: 39,
),
],
):Container()
],
),