welcom page and home page init
This commit is contained in:
31
lib/pages/welcome_page.dart
Normal file
31
lib/pages/welcome_page.dart
Normal file
@@ -0,0 +1,31 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
||||
class WelcomePage extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Pagina di benvenuto',
|
||||
home: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('Benvenuto'),
|
||||
),
|
||||
body: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text('Benvenuto nella pagina di benvenuto!'),
|
||||
SizedBox(height: 20),
|
||||
Text('Clicca sul pulsante per continuare'),
|
||||
SizedBox(height: 20),
|
||||
ElevatedButton(
|
||||
onPressed: () {},
|
||||
child: Text('Continua'),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user