inserida as faltas na tela boletim e eventos na situacao escolar
This commit is contained in:
@@ -93,12 +93,12 @@ class DrawerCustom extends StatelessWidget {
|
||||
texto: 'Agenda Escolar',
|
||||
onPressed: ()=>Navigator.push(context, MaterialPageRoute(builder: (context)=>TelaAgenda(estudanteModelo: estudanteModelo))),
|
||||
),
|
||||
Container(height: 1,color: PaletaCores.divider,margin: EdgeInsets.symmetric(horizontal: 20),),
|
||||
ItemDrawer(
|
||||
icone: LineIcons.calendarTimes,
|
||||
texto: 'Eventos Escolares',
|
||||
onPressed: ()=>Navigator.push(context, MaterialPageRoute(builder: (context)=>TelaEventos(estudanteModelo: estudanteModelo))),
|
||||
),
|
||||
// Container(height: 1,color: PaletaCores.divider,margin: EdgeInsets.symmetric(horizontal: 20),),
|
||||
// ItemDrawer(
|
||||
// icone: LineIcons.calendarTimes,
|
||||
// texto: 'Eventos Escolares',
|
||||
// onPressed: ()=>Navigator.push(context, MaterialPageRoute(builder: (context)=>TelaEventos(estudanteModelo: estudanteModelo))),
|
||||
// ),
|
||||
Container(height: 1,color: PaletaCores.divider,margin: EdgeInsets.symmetric(horizontal: 20),),
|
||||
ItemDrawer(
|
||||
icone: LineIcons.mobilePhone,
|
||||
|
||||
29
lib/componentes/item_evento_home.dart
Normal file
29
lib/componentes/item_evento_home.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rkm_educa_app/componentes/text_custom.dart';
|
||||
import '../utils/dimensoes.dart';
|
||||
class ItemEventoHome extends StatelessWidget {
|
||||
String titulo;
|
||||
String data;
|
||||
|
||||
ItemEventoHome({
|
||||
required this.titulo,
|
||||
required this.data
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.5,
|
||||
child: TextCustom(text: titulo,)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: data,)
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user