Hiba fix: nincs középen az óraszám

This commit is contained in:
2025-10-21 20:43:20 +02:00
committed by 4831c0
parent 448be1ae10
commit dbbc119fd5
2 changed files with 12 additions and 12 deletions

View File

@@ -92,6 +92,7 @@ Future<void> showLessonBottomSheet(
width: 18,
height: 18,
child: Stack(
alignment: Alignment.center,
children: [
SvgPicture.asset(
"assets/icons/subtract.svg",
@@ -99,12 +100,11 @@ Future<void> showLessonBottomSheet(
width: 18,
height: 18,
),
Padding(
padding: EdgeInsets.only(left: 5),
child: Text(lessonNo.toString(),
style: appStyle.fonts.B_12R
.apply(color: secondary)),
)
Text(
lessonNo.toString(),
style: appStyle.fonts.B_12R.apply(color: secondary),
textAlign: TextAlign.center,
),
],
),
),

View File

@@ -98,6 +98,7 @@ class LessonWidget extends StatelessWidget {
width: 18,
height: 18,
child: Stack(
alignment: Alignment.center,
children: [
SvgPicture.asset(
"assets/icons/subtract.svg",
@@ -105,12 +106,11 @@ class LessonWidget extends StatelessWidget {
width: 18,
height: 18,
),
Padding(
padding: EdgeInsets.only(left: 5),
child: Text(lessonNo.toString(),
style:
appStyle.fonts.B_12R.apply(color: secondary)),
)
Text(
lessonNo.toString(),
style: appStyle.fonts.B_12R.apply(color: secondary),
textAlign: TextAlign.center,
),
],
),
),