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 { android {
namespace "com.example.motula_translate_app" namespace "com.example.motula_translate_app"
compileSdk flutter.compileSdkVersion compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion ndkVersion "25.1.8937393"
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -23,4 +23,4 @@ plugins {
id "org.jetbrains.kotlin.android" version "1.7.10" apply false 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( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const SizedBox(height: 40), const SizedBox(height: 30),
Padding( Image(
padding: const EdgeInsets.all(20), image: AssetImage('assets/Logo/LogoHome.png'),
child: Text( ),
"TRADUTTORE ITALIANO DIALETTO MTTOLESE", TextField(
style: Theme.of(context).textTheme.headlineMedium!.copyWith( keyboardType: TextInputType.text,
color: Colors.black, fontWeight: FontWeight.bold), decoration: InputDecoration(
hintText: 'Parola Italiana'
), ),
), ),
SingleChildScrollView( ElevatedButton(
scrollDirection: Axis.horizontal, onPressed: () {},
child: Row( child: const Text('Traduci'),
children: courses style: ElevatedButton.styleFrom(
.map( backgroundColor: Colors.orange,
(course) => Padding( padding: EdgeInsets.symmetric(horizontal: 50, vertical: 20),
padding: const EdgeInsets.only(left: 20), textStyle: TextStyle(
child: CourseCard( fontSize: 15,
title: course.title, fontWeight: FontWeight.bold)),
iconSrc: course.iconSrc,
color: course.color,
),
),
)
.toList(),
),
), ),
Text('')
], ],
), ),
), ),

View File

@@ -121,9 +121,9 @@ class _OnbodingScreenState extends State<OnbodingScreen> {
}, },
), ),
const Padding( const Padding(
padding: EdgeInsets.symmetric(vertical: 24), padding: EdgeInsets.symmetric(vertical: 14),
child: Text( 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"),
) )
], ],
), ),