grade page done in summary

This commit is contained in:
Kima
2023-06-16 01:30:17 +02:00
parent ce1c5eb0d8
commit 551b2849fe
12 changed files with 340 additions and 27 deletions

View File

@@ -56,9 +56,16 @@ class _LiveCardState extends State<LiveCard> {
case LiveCardState.summary:
child = LiveCardWidget(
key: const Key('livecard.summary'),
title: '',
title: 'Vége a tanévnek! 🥳',
icon: FeatherIcons.arrowRight,
description: const Text(''),
description: Text(
'Irány az összefoglaláshoz',
style: TextStyle(
fontWeight: FontWeight.w500,
fontSize: 18.0,
color: Theme.of(context).textTheme.bodyMedium?.color,
),
),
onTap: () => Navigator.of(context).push(
MaterialPageRoute(
builder: (BuildContext context) => const SummaryScreen(

View File

@@ -86,7 +86,10 @@ class _LiveCardWidgetState extends State<LiveCardWidget> {
Text(
widget.title ?? 'Esemény',
style: TextStyle(
fontSize: 32,
fontWeight: FontWeight.bold,
fontSize: 24.0,
color:
Theme.of(context).textTheme.bodyMedium?.color,
fontStyle:
widget.titleItalic ? FontStyle.italic : null,
),
@@ -96,7 +99,17 @@ class _LiveCardWidgetState extends State<LiveCardWidget> {
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
widget.description ??
const Text('Nincs leírás megadva.'),
Text(
'Nincs leírás megadva.',
style: TextStyle(
fontWeight: FontWeight.w500,
fontSize: 18.0,
color: Theme.of(context)
.textTheme
.bodyMedium
?.color,
),
),
SizedBox(
height: 15,
child: Container(