add modify page home
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
BIN
motula_translate_app/assets/Logo/LogoHome.png
Normal file
BIN
motula_translate_app/assets/Logo/LogoHome.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 380 KiB |
@@ -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('')
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -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"),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user