consumindo os dados do boletim

This commit is contained in:
Reginaldo
2023-06-27 18:30:51 -03:00
parent 339e256eac
commit f394c5cf32
8 changed files with 144 additions and 326 deletions

View File

@@ -26,16 +26,16 @@ class _TelaPerfilState extends State<TelaPerfil> {
appBar: AppBarCustom().appbar(context, 'PERFIL'),
drawer: DrawerCustom(estudanteModelo: widget.estudanteModelo),
body: ListView(
padding: EdgeInsets.symmetric(vertical: 50,horizontal: 20),
padding: EdgeInsets.symmetric(vertical: 0,horizontal: 20),
children: [
CircleAvatar(
radius: 70,
backgroundColor: Colors.grey[300],
child:widget.estudanteModelo.foto==''?Container(): ClipRRect(
borderRadius:BorderRadius.circular(70),
child: Image.asset(widget.estudanteModelo.foto),
)
),
// CircleAvatar(
// radius: 70,
// backgroundColor: Colors.grey[300],
// child:widget.estudanteModelo.foto==''?Container(): ClipRRect(
// borderRadius:BorderRadius.circular(70),
// child: Image.asset(widget.estudanteModelo.foto),
// )
// ),
SizedBox(height: 25,),
ItemModelo(texto: widget.estudanteModelo.nome,titulo: 'Nome',),
ItemModelo(texto: widget.estudanteModelo.idade.toString()+' anos',titulo: 'Idade',),