add modify page home

This commit is contained in:
paoloGuagnano
2024-03-10 17:35:18 +01:00
parent 2e2740c0b3
commit 22ccd61986
5 changed files with 22 additions and 27 deletions

View File

@@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android {
namespace "com.example.motula_translate_app"
compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
ndkVersion "25.1.8937393"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -23,4 +23,4 @@ plugins {
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}
include ":app"

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

View File

@@ -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('')
],
),
),

View File

@@ -121,9 +121,9 @@ class _OnbodingScreenState extends State<OnbodingScreen> {
},
),
const Padding(
padding: EdgeInsets.symmetric(vertical: 24),
padding: EdgeInsets.symmetric(vertical: 14),
child: Text(
"Per maggiori informazioni contattare Marco all'indirizzo email: marco@esempio.com. Tell: +39 111 2233 444"),
"Per maggiori informazioni contattare Marco. Email marco@esempio.com. tell +39 111 2233 444"),
)
],
),