add modify page home
This commit is contained in:
@@ -16,32 +16,27 @@ class HomePage extends StatelessWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 40),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Text(
|
||||
"TRADUTTORE ITALIANO DIALETTO MTTOLESE",
|
||||
style: Theme.of(context).textTheme.headlineMedium!.copyWith(
|
||||
color: Colors.black, fontWeight: FontWeight.bold),
|
||||
const SizedBox(height: 30),
|
||||
Image(
|
||||
image: AssetImage('assets/Logo/LogoHome.png'),
|
||||
),
|
||||
TextField(
|
||||
keyboardType: TextInputType.text,
|
||||
decoration: InputDecoration(
|
||||
hintText: 'Parola Italiana'
|
||||
),
|
||||
),
|
||||
SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
children: courses
|
||||
.map(
|
||||
(course) => Padding(
|
||||
padding: const EdgeInsets.only(left: 20),
|
||||
child: CourseCard(
|
||||
title: course.title,
|
||||
iconSrc: course.iconSrc,
|
||||
color: course.color,
|
||||
),
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () {},
|
||||
child: const Text('Traduci'),
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Colors.orange,
|
||||
padding: EdgeInsets.symmetric(horizontal: 50, vertical: 20),
|
||||
textStyle: TextStyle(
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.bold)),
|
||||
),
|
||||
Text('')
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user