consumindo os dados do boletim
This commit is contained in:
@@ -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',),
|
||||
|
||||
Reference in New Issue
Block a user