criada as telas tela_avisos.dart, tela_detalhes_avisos.dart e tela_contatos.dart
This commit is contained in:
26
lib/componentes/item_perfil.dart
Normal file
26
lib/componentes/item_perfil.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rkm_educa_app/componentes/text_custom.dart';
|
||||
|
||||
class ItemPerfil extends StatelessWidget {
|
||||
String texto;
|
||||
String titulo;
|
||||
|
||||
ItemPerfil({
|
||||
required this.texto,
|
||||
required this.titulo,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 10),
|
||||
child: Row(
|
||||
children: [
|
||||
TextCustom(text: titulo,size: 14.0,fontWeight: FontWeight.bold,),
|
||||
SizedBox(width: 10,),
|
||||
TextCustom(text: texto,size: 14.0),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user