exam tile fix

This commit is contained in:
Kima 2024-01-01 22:00:22 +01:00
parent 1042f6de02
commit c98e692546

View File

@ -26,13 +26,13 @@ class ExamTile extends StatelessWidget {
onTap: onTap, onTap: onTap,
shape: shape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)), RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)),
leading: const RoundBorderIcon( leading: RoundBorderIcon(
icon: Icon( icon: Icon(
Icons.edit_document, Icons.edit_document,
size: 22.0, size: showSubject ? 24.0 : 22.0,
weight: 2.5, weight: 2.5,
), ),
padding: 5.0, padding: showSubject ? 6.0 : 5.0,
width: 1.0, width: 1.0,
), ),
title: Text( title: Text(