|
|
|
|
@@ -51,7 +51,7 @@ class GradeAveragesView extends StatelessWidget {
|
|
|
|
|
color: Theme.of(context).colorScheme.onSurface
|
|
|
|
|
),
|
|
|
|
|
const SizedBox(width: 15),
|
|
|
|
|
Text(isMiddleSchool ? 'Notensystem' : 'Punktesystem'),
|
|
|
|
|
Text(isMiddleSchool ? 'Realschule' : 'Oberstufe'),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)).toList(),
|
|
|
|
|
@@ -80,11 +80,19 @@ class GradeAveragesView extends StatelessWidget {
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
const SizedBox(height: 30),
|
|
|
|
|
Text(bloc.average().toStringAsFixed(2), style: const TextStyle(fontSize: 30, fontWeight: FontWeight.bold)),
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
Text('Ø', style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold)),
|
|
|
|
|
SizedBox(width: 5),
|
|
|
|
|
Text(bloc.average().toStringAsFixed(2), style: const TextStyle(fontSize: 30, fontWeight: FontWeight.bold))
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
const Divider(),
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
Text(bloc.isMiddleSchool() ? 'Wähle unten die Anzahl deiner jeweiligen Noten aus' : 'Wähle unten die Anzahl deiner jeweiligen Punkte aus'),
|
|
|
|
|
Text(bloc.isMiddleSchool() ? 'Wähle die Anzahl deiner jeweiligen Noten aus' : 'Wähle die Anzahl deiner jeweiligen Punkte aus'),
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
const Expanded(
|
|
|
|
|
child: GradeAveragesListView()
|
|
|
|
|
|