import 'dart:math' as math; import 'package:flutter/material.dart'; import 'package:lottie/lottie.dart'; class VideoScreen extends StatelessWidget { const VideoScreen({super.key}); static const Color _teal = Color(0xFF2F9E94); static const Color _accentPink = Color(0xFFFF55A7); @override Widget build(BuildContext context) { final size = MediaQuery.sizeOf(context); return Scaffold( appBar: AppBar( backgroundColor: _teal, foregroundColor: Colors.white, elevation: 0, title: const Text( 'Videos Educativos', style: TextStyle(fontWeight: FontWeight.w900), ), ), body: Stack( clipBehavior: Clip.none, children: [ Positioned.fill( child: Container( decoration: const BoxDecoration( gradient: LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Color(0xFFFFE6F1), Color(0xFFFFC9DF)], ), ), ), ), Positioned( left: -size.width * 0.40, bottom: -size.width * 0.45, child: IgnorePointer( child: SizedBox( width: size.width * 1.05, height: size.width * 1.05, child: Transform.rotate( angle: 35 * math.pi / 180, child: Opacity( opacity: 0.95, child: Lottie.asset( 'lottie/Liquid waves.json', fit: BoxFit.cover, repeat: true, ), ), ), ), ), ), SafeArea( child: Center( child: ConstrainedBox( constraints: const BoxConstraints(maxWidth: 480), child: Padding( padding: const EdgeInsets.all(24), child: Container( padding: const EdgeInsets.all(24), decoration: BoxDecoration( color: Colors.white.withValues(alpha: 0.85), borderRadius: BorderRadius.circular(20), border: Border.all( color: Colors.black.withValues(alpha: 0.08), ), ), child: const Column( mainAxisSize: MainAxisSize.min, children: [ Icon( Icons.play_circle_fill_rounded, size: 64, color: _accentPink, ), SizedBox(height: 12), Text( 'Em breve', style: TextStyle( fontSize: 22, fontWeight: FontWeight.w900, color: _teal, ), ), SizedBox(height: 8), Text( 'Os videos educativos serao disponibilizados em breve.', textAlign: TextAlign.center, style: TextStyle( fontWeight: FontWeight.w600, color: Colors.black87, ), ), ], ), ), ), ), ), ), ], ), ); } }