kisambu's picture
Upload du modèle de détection de tuberculose
87a2e39 verified
import 'package:flutter/material.dart';
// Couleurs simulées (à remplacer par tes vraies constantes)
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
Image.asset(
'assets/image.jpeg',
fit: BoxFit.contain,
height: 500,
),
// Bienvenue et sous-texte
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,
),
],
),
),
),
),
);
}
}