add new layout
This commit is contained in:
@@ -20,7 +20,7 @@ class HomePage extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Text(
|
||||
"Courses",
|
||||
"TRADUTTORE ITALIANO DIALETTO MTTOLESE",
|
||||
style: Theme.of(context).textTheme.headlineMedium!.copyWith(
|
||||
color: Colors.black, fontWeight: FontWeight.bold),
|
||||
),
|
||||
@@ -42,25 +42,6 @@ class HomePage extends StatelessWidget {
|
||||
.toList(),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Text(
|
||||
"Recent",
|
||||
style: Theme.of(context).textTheme.headlineSmall!.copyWith(
|
||||
color: Colors.black, fontWeight: FontWeight.bold),
|
||||
),
|
||||
),
|
||||
...recentCourses
|
||||
.map((course) => Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 20, right: 20, bottom: 20),
|
||||
child: SecondaryCourseCard(
|
||||
title: course.title,
|
||||
iconsSrc: course.iconSrc,
|
||||
colorl: course.color,
|
||||
),
|
||||
))
|
||||
.toList(),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user