import 'package:flutter/material.dart'; class StoryScreen extends StatelessWidget { const StoryScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('Créer une Story'), backgroundColor: Colors.blueAccent, ), body: Padding( padding: const EdgeInsets.all(16), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( 'Texte de la Story', style: TextStyle(fontSize: 18, color: Colors.white), ), const SizedBox(height: 8), TextField( maxLines: 5, decoration: InputDecoration( hintText: 'Rédigez votre Story', filled: true, fillColor: Colors.white.withOpacity(0.1), border: OutlineInputBorder( borderRadius: BorderRadius.circular(10), borderSide: BorderSide.none, ), hintStyle: const TextStyle(color: Colors.white70), ), style: const TextStyle(color: Colors.white), ), const SizedBox(height: 20), ElevatedButton( onPressed: () { // Logique pour créer la story }, style: ElevatedButton.styleFrom( backgroundColor: Colors.blueAccent, padding: const EdgeInsets.all(16), ), child: const Text('Publier la Story'), ), ], ), ), backgroundColor: Colors.black, ); } }