import 'package:flutter/material.dart'; import '../constants/app_colors.dart'; import 'running_screen.dart'; class WelcomeScreen extends StatelessWidget { const WelcomeScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( backgroundColor: AppColors.background, body: Container( width: double.infinity, decoration: BoxDecoration( gradient: LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [ AppColors.coral.withValues(alpha: 0.1), AppColors.background, ], ), ), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ const Spacer(flex: 2), // Logo or Icon Container( padding: const EdgeInsets.all(30), decoration: BoxDecoration( shape: BoxShape.circle, color: AppColors.coral.withValues(alpha: 0.1), border: Border.all(color: AppColors.coral, width: 2), ), child: const Icon( Icons.directions_run_rounded, size: 80, color: AppColors.coral, ), ), const SizedBox(height: 40), const Text( 'RUN VISION PRO', style: TextStyle( color: AppColors.white, fontSize: 32, fontWeight: FontWeight.w900, letterSpacing: 4, ), ), const SizedBox(height: 10), Text( 'Sua jornada começa aqui', style: TextStyle( color: AppColors.white.withValues(alpha: 0.6), fontSize: 16, fontWeight: FontWeight.w300, ), ), const Spacer(), // Start Button Padding( padding: const EdgeInsets.symmetric(horizontal: 40), child: SizedBox( width: double.infinity, height: 60, child: ElevatedButton( onPressed: () { Navigator.pushReplacement( context, MaterialPageRoute(builder: (context) => const RunningScreen()), ); }, style: ElevatedButton.styleFrom( backgroundColor: AppColors.coral, foregroundColor: AppColors.white, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(30), ), elevation: 0, ), child: const Text( 'COMEÇAR', style: TextStyle( fontSize: 18, fontWeight: FontWeight.bold, letterSpacing: 2, ), ), ), ), ), const SizedBox(height: 60), ], ), ), ); } }