consumindo os dados do boletim
This commit is contained in:
@@ -6,7 +6,6 @@ import 'package:rkm_educa_app/componentes/text_custom.dart';
|
||||
import 'package:rkm_educa_app/utils/dimensoes.dart';
|
||||
import 'package:syncfusion_flutter_charts/charts.dart';
|
||||
import '../componentes/drawer_custom.dart';
|
||||
import 'dart:ui' as ui;
|
||||
|
||||
class TelaSituacaoEscolar extends StatefulWidget {
|
||||
EstudanteModelo estudanteModelo;
|
||||
@@ -76,166 +75,6 @@ class _TelaSituacaoEscolarState extends State<TelaSituacaoEscolar> {
|
||||
SizedBox(
|
||||
height: Dimensoes.height*0.1,
|
||||
),
|
||||
Card(
|
||||
margin: EdgeInsets.symmetric(horizontal: 30),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextCustom(text: 'Últimas Notas',fontWeight: FontWeight.bold,),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'Matemática',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '10',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'Português',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '9',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'História',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '10',)
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: Dimensoes.height*0.03,
|
||||
),
|
||||
Card(
|
||||
margin: EdgeInsets.symmetric(horizontal: 30),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Row(
|
||||
children: [
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextCustom(text: 'Faltas',fontWeight: FontWeight.bold,),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'Matemática',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '3',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'Português',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '1',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'História',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '5',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'Geografia',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '2',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: 'Ciências',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.1,
|
||||
child: TextCustom(text: '4',)
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
TextCustom(text: 'Presenças',fontWeight: FontWeight.bold,),
|
||||
Stack(
|
||||
children: [
|
||||
Container(
|
||||
alignment: Alignment.topCenter,
|
||||
width: 150,
|
||||
height: 110,
|
||||
child: graph(context)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: 150,
|
||||
height: 110,
|
||||
child: TextCustom(text: '90%',size: 14.0,)
|
||||
)
|
||||
],
|
||||
)
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: Dimensoes.height*0.03,
|
||||
),
|
||||
Card(
|
||||
margin: EdgeInsets.symmetric(horizontal: 30),
|
||||
child: Padding(
|
||||
@@ -284,12 +123,12 @@ class _TelaSituacaoEscolarState extends State<TelaSituacaoEscolar> {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextCustom(text: 'Próximas Datas - Agenda',fontWeight: FontWeight.bold,),
|
||||
TextCustom(text: 'Última Ocorrência',fontWeight: FontWeight.bold,),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.5,
|
||||
child: TextCustom(text: 'Feriado Corpus Christi',)
|
||||
child: TextCustom(text: 'Aluno Ausente',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
@@ -298,32 +137,6 @@ class _TelaSituacaoEscolarState extends State<TelaSituacaoEscolar> {
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.5,
|
||||
child: TextCustom(text: 'Início Férias',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: '19/07/2023',)
|
||||
),
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Container(
|
||||
width: Dimensoes.width*0.5,
|
||||
child: TextCustom(text: 'Início 3 bimestre',)
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.center,
|
||||
width: Dimensoes.width*0.3,
|
||||
child: TextCustom(text: '30/07/2023',)
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user