exibindo faltas na tela_faltas.dart

This commit is contained in:
Reginaldo
2023-12-05 19:52:49 -03:00
parent 8fc77f2adc
commit 3a5b2bdb44
26 changed files with 816 additions and 15 deletions

View File

@@ -0,0 +1,46 @@
import 'package:flutter/material.dart';
import 'package:rkm_educa_prof_app/componentes/text_custom.dart';
class DropdownTurma extends StatelessWidget {
String titulo;
String? seleciona;
List itens;
var onChanged;
double hightLine;
DropdownTurma({
required this.titulo,
required this.seleciona,
required this.itens,
required this.onChanged,
required this.hightLine,
});
@override
Widget build(BuildContext context) {
return Container(
height: hightLine,
child: Row(
children: [
TextCustom(text: titulo,fontWeight: FontWeight.bold),
SizedBox(width: 10,),
DropdownButtonHideUnderline(
child: DropdownButton(
hint: TextCustom(text: 'SELECIONE',size: 12.0,),
value: seleciona,
items: itens.map((value) => DropdownMenuItem(
value: value,
child: TextCustom(
text: value,
size: 12.0,
color: Colors.black54,
),
)
).toList(),
onChanged: onChanged,
),
),
],
),
);
}
}