criada a tela responsible_register_screen.dart, o model responsavel_model.dart e feitos outros ajustes

This commit is contained in:
Reginaldo
2023-05-25 17:50:26 -03:00
parent ddacba5525
commit f4bccc3e24
15 changed files with 458 additions and 50 deletions

View File

@@ -9,11 +9,8 @@ class ButtonCustom extends StatelessWidget{
final Color colorBorder;
final widthCustom;
final heightCustom;
final font;
const ButtonCustom(
{Key? key,
required this.font,
ButtonCustom({
required this.onPressed,
required this.text,
required this.size,
@@ -22,7 +19,7 @@ class ButtonCustom extends StatelessWidget{
required this.colorBorder,
this.widthCustom = 1.0,
this.heightCustom = 1.0
}) : super(key: key);
});
@override
Widget build (BuildContext context) {
double width =MediaQuery.of(context).size.width;
@@ -33,16 +30,14 @@ class ButtonCustom extends StatelessWidget{
primary: colorButton,
minimumSize: Size(width*widthCustom! , height*heightCustom!),
side: BorderSide(width: 2,color : colorBorder,),
),
onPressed: onPressed,
child: Text(text,
style: TextStyle(fontFamily: font, color: colorText,
fontSize: size,fontWeight: FontWeight.bold
style: TextStyle(
color: colorText,
fontSize: size,
fontWeight: FontWeight.bold
),
) ,
);
}