27 lines
597 B
Dart
27 lines
597 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:rkm_educa_app/componentes/text_custom.dart';
|
|
|
|
class ItemModelo extends StatelessWidget {
|
|
String texto;
|
|
String titulo;
|
|
|
|
ItemModelo({
|
|
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),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|