diff --git a/motula_translate_app/assets/Logo/logoMottola.png b/motula_translate_app/assets/Logo/logoMottola.png new file mode 100644 index 0000000..4636d49 Binary files /dev/null and b/motula_translate_app/assets/Logo/logoMottola.png differ diff --git a/motula_translate_app/assets/icons/flagMottola.png b/motula_translate_app/assets/icons/flagMottola.png new file mode 100644 index 0000000..d7f93e4 Binary files /dev/null and b/motula_translate_app/assets/icons/flagMottola.png differ diff --git a/motula_translate_app/assets/icons/italy.png b/motula_translate_app/assets/icons/italy.png new file mode 100644 index 0000000..b76c30b Binary files /dev/null and b/motula_translate_app/assets/icons/italy.png differ diff --git a/motula_translate_app/assets/icons/next.png b/motula_translate_app/assets/icons/next.png new file mode 100644 index 0000000..caaed80 Binary files /dev/null and b/motula_translate_app/assets/icons/next.png differ diff --git a/motula_translate_app/lib/screens/home/home_screen.dart b/motula_translate_app/lib/screens/home/home_screen.dart index c475c3e..03e0616 100644 --- a/motula_translate_app/lib/screens/home/home_screen.dart +++ b/motula_translate_app/lib/screens/home/home_screen.dart @@ -13,20 +13,28 @@ class HomePage extends StatelessWidget { body: SingleChildScrollView( child: Column( children: [ - Image( - image: AssetImage('assets/Logo/LogoHome.png'), - ), - Row(children: [ - Text('TO', style: TextStyle(fontSize: 30, color: Colors.grey[800])), - Text('--->', style: TextStyle(fontSize: 30, color: Colors.grey[800])), - Text('DO', style: TextStyle(fontSize: 30, color: Colors.grey[800])), + const SizedBox(height: 50), + Image.asset('assets/Logo/logoMottola.png', width: 250, height: 250), + const SizedBox(height: 20), + //const Image( + // image: AssetImage('assets/Logo/logoMottola.png',), + //), + Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Image.asset('assets/icons/italy.png', width: 50, height: 50), + const SizedBox(width: 20), + Image.asset('assets/icons/next.png', width: 30, height:30), + const SizedBox(width: 10), + //Text(' --> ', style: TextStyle(fontSize: 30, color: Colors.grey[800])), + Image.asset('assets/icons/flagMottola.png', width: 64, height: 64), ]), const SizedBox(height: 20), TextField( keyboardType: TextInputType.multiline, maxLines: null, style: TextStyle(fontSize: 20, color: Colors.grey[800]), - decoration: InputDecoration( + decoration: const InputDecoration( hintText: 'Parola Italiana', hintStyle: TextStyle(fontSize: 20) ), @@ -36,17 +44,16 @@ class HomePage extends StatelessWidget { onPressed: () { }, - child: const Text('Traduci'), + child: Text('Traduci'), style: ElevatedButton.styleFrom( backgroundColor: Colors.orange, - padding: EdgeInsets.symmetric(horizontal: 50, vertical: 20), - textStyle: TextStyle( + padding: const EdgeInsets.symmetric(horizontal: 50, vertical: 20), + textStyle: const TextStyle( fontSize: 15, fontWeight: FontWeight.bold)), ), const SizedBox(height: 30), WordsScreen(), - //Text('ToDo', style: TextStyle(fontSize: 30, color: Colors.grey[800])) ], ), ),