27 lines
601 B
Dart
27 lines
601 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:rkm_educa_app/widgets/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: const EdgeInsets.symmetric(vertical: 10.0),
|
|
child: Row(
|
|
children: [
|
|
TextCustom(text: titulo,size: 14.0,fontWeight: FontWeight.bold,),
|
|
SizedBox(width: 10,),
|
|
TextCustom(text: texto,size: 14.0),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|