add modify page home
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -23,4 +23,4 @@ plugins {
|
||||
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(
|
||||
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('')
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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"),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user