|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
const Color primaryColor = Colors.deepPurple;
|
|
|
const Color accentColor = Colors.deepOrange;
|
|
|
const Color backgroundColor = Colors.white;
|
|
|
|
|
|
class Welcome extends StatelessWidget {
|
|
|
const Welcome({super.key});
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|
|
|
return Scaffold(
|
|
|
backgroundColor: Colors.white,
|
|
|
body: SafeArea(
|
|
|
child: SingleChildScrollView(
|
|
|
child: Padding(
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 20.0),
|
|
|
child: Column(
|
|
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
|
|
children: [
|
|
|
|
|
|
Image.asset(
|
|
|
'assets/image.jpeg',
|
|
|
fit: BoxFit.contain,
|
|
|
height: 500,
|
|
|
),
|
|
|
|
|
|
|
|
|
const Text(
|
|
|
'Bienvenue',
|
|
|
style: TextStyle(
|
|
|
fontSize: 30,
|
|
|
color: Color.fromARGB(255, 33, 243, 51),
|
|
|
fontWeight: FontWeight.bold,
|
|
|
),
|
|
|
textAlign: TextAlign.center,
|
|
|
),
|
|
|
const SizedBox(height: 10),
|
|
|
const Text(
|
|
|
'Application Tout en un',
|
|
|
style: TextStyle(fontSize: 16, color: Colors.grey),
|
|
|
textAlign: TextAlign.center,
|
|
|
),
|
|
|
],
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
|